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.