return at the end of main() and call EVP_cleanup() before