Skip to content

Commit 1971b41

Browse files
smittals2justsmth
andauthored
Add SSL_CTX_use_cert_and_key (#2163)
### Issues: `CryptoAlg-2863` ### Description of changes: Adds the function SSL_CTX_use_cert_and_key which sets the leaf, chain, and private key all in one operation. This function is also needed by librdkafka. ### Call-outs: Point out areas that need special attention or support during the review process. Discuss architecture or design changes. ### Testing: Tests using this API to set the relevant fields and ensure TLS connection succeeds. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license. --------- Co-authored-by: Justin W Smith <[email protected]> Co-authored-by: Justin Smith <[email protected]>
1 parent dc3b44b commit 1971b41

File tree

7 files changed

+436
-281
lines changed

7 files changed

+436
-281
lines changed

crypto/err/ssl.errordata

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ SSL,308,NEGOTIATED_ALPS_WITHOUT_ALPN
112112
SSL,170,NEGOTIATED_BOTH_NPN_AND_ALPN
113113
SSL,285,NEGOTIATED_TB_WITHOUT_EMS_OR_RI
114114
SSL,171,NESTED_GROUP
115+
SSL,323,NOT_REPLACING_CERTIFICATE
115116
SSL,307,NO_APPLICATION_PROTOCOL
116117
SSL,172,NO_CERTIFICATES_RETURNED
117118
SSL,173,NO_CERTIFICATE_ASSIGNED

0 commit comments

Comments
 (0)