diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-04-17 14:08:58 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-04-17 14:08:58 +0000 |
commit | cb4694674d78b2721a6198ff7f12f8f81f1e78f8 (patch) | |
tree | ca0e6b2ee7667cecb7a1178ea9ee2f1627e83598 /lib/libssl/s23_clnt.c | |
parent | 44e7f5649e8cd9487de6ae2235db58f6c532f99b (diff) |
remove some code that is now unused after guenther's changes in 1.20.
Diffstat (limited to 'lib/libssl/s23_clnt.c')
-rw-r--r-- | lib/libssl/s23_clnt.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/libssl/s23_clnt.c b/lib/libssl/s23_clnt.c index a7b262229f6..196ef1dfade 100644 --- a/lib/libssl/s23_clnt.c +++ b/lib/libssl/s23_clnt.c @@ -250,21 +250,6 @@ end: return (ret); } -static int -ssl23_no_ssl2_ciphers(SSL *s) -{ - SSL_CIPHER *cipher; - STACK_OF(SSL_CIPHER) *ciphers; - int i; - ciphers = SSL_get_ciphers(s); - for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { - cipher = sk_SSL_CIPHER_value(ciphers, i); - if (cipher->algorithm_ssl == SSL_SSLV2) - return 0; - } - return 1; -} - /* * Fill a ClientRandom or ServerRandom field of length len. Returns <= 0 * on failure, 1 on success. @@ -294,7 +279,7 @@ ssl23_client_hello(SSL *s) { unsigned char *buf; unsigned char *p, *d; - int i, ch_len; + int i; unsigned long l; int version = 0, version_major, version_minor; #ifndef OPENSSL_NO_COMP |