diff options
author | tb <> | 2021-09-08 12:56:14 +0000 |
---|---|---|
committer | tb <> | 2021-09-08 12:56:14 +0000 |
commit | a394d274abf3e2b60889bd0f714d8720c2b5936f (patch) | |
tree | 7766cf5b1441a60f7f97d9259e79b6714a13a926 /src/lib/libssl/tls1.h | |
parent | 81bcc65bf759a3ea0181db3b72dade5269ae35ff (diff) | |
download | openbsd-a394d274abf3e2b60889bd0f714d8720c2b5936f.tar.gz openbsd-a394d274abf3e2b60889bd0f714d8720c2b5936f.tar.bz2 openbsd-a394d274abf3e2b60889bd0f714d8720c2b5936f.zip |
Prepare to provide SSL_get_tlsext_status_type()
Needed for nginx-lua to build with opaque SSL.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libssl/tls1.h')
-rw-r--r-- | src/lib/libssl/tls1.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h index 98e158300b..238b202162 100644 --- a/src/lib/libssl/tls1.h +++ b/src/lib/libssl/tls1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls1.h,v 1.45 2021/06/14 05:32:10 tb Exp $ */ | 1 | /* $OpenBSD: tls1.h,v 1.46 2021/09/08 12:56:14 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -326,6 +326,11 @@ SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb) | |||
326 | #define SSL_set_tlsext_debug_arg(ssl, arg) \ | 326 | #define SSL_set_tlsext_debug_arg(ssl, arg) \ |
327 | SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg) | 327 | SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg) |
328 | 328 | ||
329 | #if defined(LIBRESSL_INTERNAL) | ||
330 | #define SSL_get_tlsext_status_type(ssl) \ | ||
331 | SSL_ctrl(ssl, SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE, 0, NULL) | ||
332 | #endif | ||
333 | |||
329 | #define SSL_set_tlsext_status_type(ssl, type) \ | 334 | #define SSL_set_tlsext_status_type(ssl, type) \ |
330 | SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL) | 335 | SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL) |
331 | 336 | ||