diff options
author | jfigus <foleyj@cisco.com> | 2014-12-02 15:44:49 -0500 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-16 14:42:30 +0100 |
commit | ba261f718b1828751ec8a88ee5592fa6436aa422 (patch) | |
tree | 7a10404bfe31d00a30b4cc9ecef4214daf8ab2d8 /include | |
parent | b04f947941d08b5d077a63b017ecee5e4e2e11cc (diff) |
Propagate tlsext_status_type from SSL_CTX to SSL
To allow OCSP stapling to work with libcurl.
Github PR #200
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/tls1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index ffc6eb7c5a..61d5bccac4 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -394,6 +394,9 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb) # define SSL_CTX_set_tlsext_status_arg(ssl, arg) \ SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg) +#define SSL_CTX_set_tlsext_status_type(ssl, type) \ + SSL_CTX_ctrl(ssl, SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE, type, NULL) + # define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) |