zhaozg/lua-openssl — pull request #12 by unitfloat (2014-01-31 22:05:36+00:00)
Title: Fix crash in openssl.seal() and openssl.open().

The first fix avoids a crash in EVP_SealInit() caused by "eks" not being initialized properly.

The second fix avoids a crash when "free(buf);" is called a second time on the same "buf" pointer. This happens when EVP_OpenInit() or EVP_OpenFinal() fails.