diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-05 17:34:09 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-07 11:37:25 +0100 |
commit | 00db8c60aaecd2ff9b0a5d9fd10c7771a1e1a73e (patch) | |
tree | 55a6f88db1ff6e53c4fdcf17b074672ff64e9263 /crypto/engine | |
parent | 936c2b9e933eacae80d3489e5f7316589f3e9a07 (diff) |
Update source files for pre-3.0 deprecation
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10364)
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_all.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c index 0c5e4bdfd5..2f83b2ec18 100644 --- a/crypto/engine/eng_all.c +++ b/crypto/engine/eng_all.c @@ -15,9 +15,10 @@ void ENGINE_load_builtin_engines(void) OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL); } -#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) \ - && !OPENSSL_API_1_1_0 +#ifndef OPENSSL_NO_DEPRECATED_1_1_0 +# if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) void ENGINE_setup_bsd_cryptodev(void) { } +# endif #endif |