wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.
http://25thandclement.com/~william/projects/luaossl.html
Other
140 stars 49 forks source link

src/openssl.c: Fix reading ASN1_TIME timestamps from before 2000 #179

Closed daurnimator closed 4 years ago

daurnimator commented 4 years ago

Fixes https://github.com/wahern/luaossl/issues/178

I'm wondering why xc_setLifetime uses ASN1_TIME_set rather than the ASN1_GENERALIZEDTIME apis, as the latter doesn't suffer from Y2K-like problems.