Add SSL_aCERT: this is used for any ciphersuite with a certificate.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 30 Jun 2017 17:57:42 +0000 (18:57 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 13 Jul 2017 11:38:42 +0000 (12:38 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3858)

ssl/ssl_locl.h

index 695cf45baa688364fbf210a1ceb54a53736247d5..af054fa3f791e0e9ef251110448a66190a073f14 100644 (file)
 # define SSL_aGOST12             0x00000080U
 /* Any appropriate signature auth (for TLS 1.3 ciphersuites) */
 # define SSL_aANY                0x00000000U
+/* All bits requiring a certificate */
+#define SSL_aCERT \
+    (SSL_aRSA | SSL_aDSS | SSL_aECDSA | SSL_aGOST01 | SSL_aGOST12)
 
 /* Bits for algorithm_enc (symmetric encryption) */
 # define SSL_DES                 0x00000001U