summaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-06-07 15:14:14 +0100
committerMatt Caswell <matt@openssl.org>2016-06-07 17:05:52 +0100
commit30b967651c1d01562087d65a28707678125d731a (patch)
treecec04e8354239cd03aeea22602e16f231825e503 /ssl/s3_lib.c
parent93a9d5975ea1761247e44ee697d991aa88919c96 (diff)
Add SSL_CTX_get_tlsext_status_type()
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index a6709187a6..44dac24c8c 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3329,6 +3329,9 @@ long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
return 1;
}
+ case SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE:
+ return ctx->tlsext_status_type;
+
case SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE:
ctx->tlsext_status_type = larg;
break;