diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-03-11 21:13:19 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-03-12 16:21:33 +0100 |
commit | e4ad0763e86ab3677aab06a61acba4b157d185f7 (patch) | |
tree | dfd5f27698b7ad50cf86a114973ff8a18d053e68 /ssl | |
parent | 6f58da88119723f2b3a9ae53d0c71a64a5086312 (diff) | |
download | openssl-e4ad0763e86ab3677aab06a61acba4b157d185f7.tar.gz |
Fix no-comp build
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_ciph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index c8c7f0281c..f7e9259c93 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -214,7 +214,9 @@ static const EVP_CIPHER *ssl_cipher_methods[SSL_ENC_NUM_IDX] = { static STACK_OF(SSL_COMP) *ssl_comp_methods = NULL; +#ifndef OPENSSL_NO_COMP static CRYPTO_ONCE ssl_load_builtin_comp_once = CRYPTO_ONCE_STATIC_INIT; +#endif /* * Constant SSL_MAX_DIGEST equal to size of digests array should be defined @@ -621,7 +623,6 @@ int ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc, #ifndef OPENSSL_NO_COMP load_builtin_compressions(); #endif - *comp = NULL; ctmp.id = s->compress_meth; if (ssl_comp_methods != NULL) { |