Latest update - pre9
This commit is contained in:
+1
-4
@@ -507,10 +507,7 @@ int ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc,
|
||||
ctmp.id = s->compress_meth;
|
||||
if (ssl_comp_methods != NULL) {
|
||||
i = sk_SSL_COMP_find(ssl_comp_methods, &ctmp);
|
||||
if (i >= 0)
|
||||
*comp = sk_SSL_COMP_value(ssl_comp_methods, i);
|
||||
else
|
||||
*comp = NULL;
|
||||
*comp = sk_SSL_COMP_value(ssl_comp_methods, i);
|
||||
}
|
||||
/* If were only interested in comp then return success */
|
||||
if ((enc == NULL) && (md == NULL))
|
||||
|
||||
Reference in New Issue
Block a user