diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-03-12 17:31:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-03-12 17:31:18 +0000 |
commit | 1fde5b65c6ccbddc9ff169b075a996a5188bcd4b (patch) | |
tree | 2e874cbc43be081f815467ab2f0ddd8d4c498dc9 /ssl/ssl_ciph.c | |
parent | c40bc0b11f82231c4a8e89b1ddd560196f556ebb (diff) |
Fix from HEAD.
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r-- | ssl/ssl_ciph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 0c2aa249b4..52f91cfe60 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1355,7 +1355,7 @@ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm) comp->method=cm; load_builtin_compressions(); if (ssl_comp_methods - && !sk_SSL_COMP_find(ssl_comp_methods,comp)) + && sk_SSL_COMP_find(ssl_comp_methods,comp) >= 0) { OPENSSL_free(comp); MemCheck_on(); |