Created a new version of pkey_generate() that uses OpenSSl's RSA_generate_key_ex() and DSA_generate_parameters_ex() instead of their deprecated counterpats (to use the new version you need to define DONT_USE_OPENSSL_DEPRECATED_FUNCTIONS, otherwise you still get the original one)
Merge pull request #26 from acss/master

Change needed to build luacrypto with recent OpenSSL