wahern / luaossl

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

OP_NO_RENEGOTIATION doesn't work #205

Closed bigben93 closed 1 year ago

bigben93 commented 1 year ago

Luaossl does not see this option. If you try to use it, the module will return nil.

Bug is in src/openssl.c file in this line: #ifdef SSL_OP_NO_RENEGOTIATION5

It looks like a typo. When I changed "SSL_OP_NO_RENEGOTIATION5" into "SSL_OP_NO_RENEGOTIATION", OP_NO_RENEGOTIATION, started to be visible for LUA.

daurnimator commented 1 year ago

Thanks! Fixed.