summaryrefslogtreecommitdiffstats
path: root/engines/e_devcrypto.c
diff options
context:
space:
mode:
authorRetropotenza <vincenzo.bono@gmail.com>2019-05-31 12:43:24 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2019-05-31 12:46:50 +0200
commitfdbb3a865575136f3b432690357423c2512831fa (patch)
treef55bbe027278fa177060217b6e7cac16fee5749e /engines/e_devcrypto.c
parentUpdate X509_STORE_new.pod (diff)
downloadopenssl-fdbb3a865575136f3b432690357423c2512831fa.tar.xz
openssl-fdbb3a865575136f3b432690357423c2512831fa.zip
Fix CHECK_BSD_STYLE_MACROS for OpenBSD and cryptodev-linux
CLA: trivial Fixes #8911 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/8866)
Diffstat (limited to 'engines/e_devcrypto.c')
-rw-r--r--engines/e_devcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_devcrypto.c b/engines/e_devcrypto.c
index b1e87096fd..ac237cd1be 100644
--- a/engines/e_devcrypto.c
+++ b/engines/e_devcrypto.c
@@ -25,7 +25,7 @@
/* #define ENGINE_DEVCRYPTO_DEBUG */
-#ifdef CRYPTO_ALGORITHM_MIN
+#if CRYPTO_ALGORITHM_MIN < CRYPTO_ALGORITHM_MAX
# define CHECK_BSD_STYLE_MACROS
#endif