From 98186eb4e4aef6262ed6b0f499348defa2c26893 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Mon, 4 Jan 2016 23:00:33 -0500 Subject: Backwards-compatibility subject to OPENSSL_API_COMPAT Provide backwards-compatiblity for functions, macros and include files if OPENSSL_API_COMPAT is either not defined or defined less than the version number of the release in which the feature was deprecated. Reviewed-by: Richard Levitte --- crypto/rsa/rsa_depr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/rsa') diff --git a/crypto/rsa/rsa_depr.c b/crypto/rsa/rsa_depr.c index 5bd0275856..59e1e7b38e 100644 --- a/crypto/rsa/rsa_depr.c +++ b/crypto/rsa/rsa_depr.c @@ -61,10 +61,11 @@ #include #include #include "internal/cryptlib.h" +#include #include #include -#ifdef OPENSSL_NO_DEPRECATED +#if OPENSSL_API_COMPAT >= 0x00908000L static void *dummy = &dummy; -- cgit v1.2.3