aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-07-08 20:19:28 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-07-08 20:19:28 +1000
commitc72a963097b994d5dcaf3197ba45896a2a637885 (patch)
tree1ad6a93e49108c10e36849f190ca43b1b62567c4
parentfd0c732068809223d913839ee2f754634db65cdb (diff)
downloadluaossl-c72a963097b994d5dcaf3197ba45896a2a637885.tar.gz
luaossl-c72a963097b994d5dcaf3197ba45896a2a637885.tar.bz2
luaossl-c72a963097b994d5dcaf3197ba45896a2a637885.zip
src/openssl.c: Fix incorrect class check in :getTLSextStatusType()
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 5108713..6511e75 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -8918,7 +8918,7 @@ static int sx_setTLSextStatusType(lua_State *L) {
#if HAVE_SSL_CTX_GET_TLSEXT_STATUS_TYPE
static int sx_getTLSextStatusType(lua_State *L) {
- SSL_CTX *ctx = checksimple(L, 1, SSL_CLASS);
+ SSL_CTX *ctx = checksimple(L, 1, SSL_CTX_CLASS);
int type = SSL_CTX_get_tlsext_status_type(ctx);
switch(type) {