wahern / luaossl

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

ssl:getcertificate() #130

Closed daurnimator closed 6 years ago

daurnimator commented 6 years ago

Add ssl:getCertificate()

It uses X509_dup to match :setCertificate(). Note that this differs from ssl:getPeerCertificate() which does not dup().

Closes #120