annotate src/core/ngx_murmurhash.h @ 4901:a0cb7fc23cc2
stable-1.2
Merge of r4868, r4869: SSL minor fixes.
*) SSL: fixed compression workaround to remove all methods.
Previous code used sk_SSL_COMP_delete(ssl_comp_methods, i) while iterating
stack from 0 to n, resulting in removal of only even compression methods.
In real life this change is a nop, as there is only one compression method
which is enabled by default in OpenSSL.
*) SSL: added version checks for ssl compression workaround.
The SSL_COMP_get_compression_methods() is only available as an API
function in OpenSSL 0.9.8+, require it explicitly to unbreak build
with OpenSSL 0.9.7.
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Mon, 12 Nov 2012 18:00:32 +0000 |
parents |
709d7d24239d |
children |
|
rev |
line source |
3891
|
1
|
|
2 /*
|
|
3 * Copyright (C) Igor Sysoev
|
4412
|
4 * Copyright (C) Nginx, Inc.
|
3891
|
5 */
|
|
6
|
|
7
|
|
8 #ifndef _NGX_MURMURHASH_H_INCLUDED_
|
|
9 #define _NGX_MURMURHASH_H_INCLUDED_
|
|
10
|
|
11
|
|
12 #include <ngx_config.h>
|
|
13 #include <ngx_core.h>
|
|
14
|
|
15
|
|
16 uint32_t ngx_murmur_hash2(u_char *data, size_t len);
|
|
17
|
|
18
|
4575
|
19 #endif /* _NGX_MURMURHASH_H_INCLUDED_ */
|