New Option SSL_OP_CIPHER_SERVER_PREFERENCE allows TLS/SSLv3 server to override
[openssl.git] / ssl / s3_srvr.c
index 54e0a03057fcf64c11f25163db3f944101ed150a..4841109c4bf5c7a5fb24bed67b03b3a3bbab8578 100644 (file)
@@ -755,7 +755,7 @@ static int ssl3_get_client_hello(SSL *s)
                        }
                }
 
-       /* Given s->session->ciphers and ssl_get_ciphers_by_id(s), we must
+       /* Given s->session->ciphers and SSL_get_ciphers, we must
         * pick a cipher */
 
        if (!s->hit)
@@ -772,7 +772,7 @@ static int ssl3_get_client_hello(SSL *s)
                        }
                ciphers=NULL;
                c=ssl3_choose_cipher(s,s->session->ciphers,
-                                    ssl_get_ciphers_by_id(s));
+                                    SSL_get_ciphers(s));
 
                if (c == NULL)
                        {