CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2024/07/22 08:47:15

Modified files:
        lib/libssl     : s3_lib.c ssl_asn1.c ssl_ciph.c ssl_ciphers.c 
                         ssl_clnt.c ssl_local.h ssl_pkt.c ssl_sess.c 
                         ssl_srvr.c ssl_txt.c tls13_client.c 
                         tls13_server.c 

Log message:
Use cipher suite values instead of IDs.

OpenSSL has had the concept of cipher IDs, which were a way of working
around overlapping cipher suite values between SSLv2 and SSLv3. Given
that we no longer have to deal with this issue, replace the use of IDs
with cipher suite values. In particular, this means that we can stop
mapping back and forth between the two, simplifying things considerably.

While here, remove the 'valid' member of the SSL_CIPHER. The ssl3_ciphers[]
table is no longer mutable, meaning that ciphers cannot be disabled at
runtime (and we have `#if 0' if we want to do it at compile time).

Clean up the comments and add/update RFC references for cipher suites.

ok tb@

Reply via email to