X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/f5f25d171091e29d15773009d8f66769403c2ba7..7be182d4906b34f434845222c75a1af1a1644733:/openbsd-compat/openssl-compat.h diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h index 6068bf21..f08362ff 100644 --- a/openbsd-compat/openssl-compat.h +++ b/openbsd-compat/openssl-compat.h @@ -19,6 +19,11 @@ #include "includes.h" #include +/* OPENSSL_free() is Free() in versions before OpenSSL 0.9.6 */ +#if !defined(OPENSSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x0090600f) +# define OPENSSL_free(x) Free(x) +#endif + #if OPENSSL_VERSION_NUMBER < 0x00906000L # define SSH_OLD_EVP # define EVP_CIPHER_CTX_get_app_data(e) ((e)->app_data)