Make it clear that SSL_OP_NO_DTLS* are the same as the TLS ones.
They're mapped to the same value, which is the only reason the tests work right now. Change-Id: I22f6e3a6b3a2c88b0f92b6d261e86111b4172cd6 Reviewed-on: https://boringssl-review.googlesource.com/2406 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
c44b1df459
commit
95eeb191c0
@ -480,8 +480,8 @@ struct ssl_session_st
|
||||
#define SSL_OP_NO_TLSv1_2 0x08000000L
|
||||
#define SSL_OP_NO_TLSv1_1 0x10000000L
|
||||
|
||||
#define SSL_OP_NO_DTLSv1 0x04000000L
|
||||
#define SSL_OP_NO_DTLSv1_2 0x08000000L
|
||||
#define SSL_OP_NO_DTLSv1 SSL_OP_NO_TLSv1
|
||||
#define SSL_OP_NO_DTLSv1_2 SSL_OP_NO_TLSv1_2
|
||||
|
||||
#define SSL_OP_NO_SSL_MASK (SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3|\
|
||||
SSL_OP_NO_TLSv1|SSL_OP_NO_TLSv1_1|SSL_OP_NO_TLSv1_2)
|
||||
|
Loading…
Reference in New Issue
Block a user