aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2017-02-28 09:04:29 -0500
committerRich Salz <rsalz@openssl.org>2017-02-28 09:32:41 -0500
commit2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (patch)
tree9e15b7825a77ffda7744a059db7c13b68d32d069 /ssl/s3_lib.c
parent14097b6a9263a40615a5c4cbf3fe808b1a14ffde (diff)
downloadopenssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.tar.gz
Remove some #if 0 code in ssl, crypto/bio
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2781)
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 1df1afa02e..4f8977ae7e 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3669,16 +3669,12 @@ const SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
/* Let's see which ciphers we can support */
-#if 0
/*
* Do not set the compare functions, because this may lead to a
* reordering by "id". We want to keep the original ordering. We may pay
* a price in performance during sk_SSL_CIPHER_find(), but would have to
* pay with the price of sk_SSL_CIPHER_dup().
*/
- sk_SSL_CIPHER_set_cmp_func(srvr, ssl_cipher_ptr_id_cmp);
- sk_SSL_CIPHER_set_cmp_func(clnt, ssl_cipher_ptr_id_cmp);
-#endif
#ifdef CIPHER_DEBUG
fprintf(stderr, "Server has %d from %p:\n", sk_SSL_CIPHER_num(srvr),