Commit 20218b58 authored by Emilia Kasper's avatar Emilia Kasper
Browse files

SSLv2 compat ciphers: clarify comment

parent e58c4d3c
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -3494,10 +3494,9 @@ STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s,

    while (PACKET_copy_bytes(cipher_suites, cipher, n)) {
        /*
         * We only support SSLv2 format ciphers in SSLv3+ using a
         * SSLv2 backward compatible ClientHello. In this case the first
         * byte is always 0 for SSLv3 compatible ciphers. Anything else
         * is an SSLv2 cipher and we ignore it
         * SSLv3 ciphers wrapped in an SSLv2-compatible ClientHello have the
         * first byte set to zero, while true SSLv2 ciphers have a non-zero
         * first byte. We don't support any true SSLv2 ciphers, so skip them.
         */
        if (sslv2format && cipher[0] != '\0')
                continue;