diff options
author | daurnimator <quae@daurnimator.com> | 2018-07-31 14:43:18 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-07-31 14:43:18 +1000 |
commit | 5ac9b2f665505f234729d33da95f9e5b5d3d98e0 (patch) | |
tree | f97a3f910ecad5f90f866876d15ada2a4090dd54 | |
parent | 2fc743e9a8f37a2ffe1785ce6dbcc773a81010ec (diff) | |
download | luaossl-5ac9b2f665505f234729d33da95f9e5b5d3d98e0.tar.gz luaossl-5ac9b2f665505f234729d33da95f9e5b5d3d98e0.tar.bz2 luaossl-5ac9b2f665505f234729d33da95f9e5b5d3d98e0.zip |
src/openssl.c: Use DER true value of 0xFF
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c index 5d757a2..827aa7d 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -6353,7 +6353,7 @@ static int xc_setBasicConstraint(lua_State *L) { } if (CA != -1) - bs->ca = CA; + bs->ca = CA ? 0xFF : 0; /* use DER value */ if (pathLen >= 0) { ASN1_INTEGER_free(bs->pathlen); |