Change safestack reimplementation to match 0.9.8.

Fix additional gcc 4.2 value not used warnings.
This commit is contained in:
Dr. Stephen Henson
2007-09-07 13:25:15 +00:00
parent 8164032a2e
commit a6fbcb4220
14 changed files with 67 additions and 136 deletions

View File

@@ -466,11 +466,11 @@ static int get_server_hello(SSL *s)
return(-1);
}
sk_SSL_CIPHER_set_cmp_func(sk,ssl_cipher_ptr_id_cmp);
(void)sk_SSL_CIPHER_set_cmp_func(sk,ssl_cipher_ptr_id_cmp);
/* get the array of ciphers we will accept */
cl=SSL_get_ciphers(s);
sk_SSL_CIPHER_set_cmp_func(cl,ssl_cipher_ptr_id_cmp);
(void)sk_SSL_CIPHER_set_cmp_func(cl,ssl_cipher_ptr_id_cmp);
/*
* If server preference flag set, choose the first