diff options
Diffstat (limited to 'crypto/openssl/crypto/engine/tb_dh.c')
-rw-r--r-- | crypto/openssl/crypto/engine/tb_dh.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/engine/tb_dh.c b/crypto/openssl/crypto/engine/tb_dh.c index a13a13950083..e1fa45685b11 100644 --- a/crypto/openssl/crypto/engine/tb_dh.c +++ b/crypto/openssl/crypto/engine/tb_dh.c @@ -1,12 +1,15 @@ /* - * Copyright 2001-2018 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ +/* We need to use some engine deprecated APIs */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include "eng_local.h" static ENGINE_TABLE *dh_table = NULL; @@ -55,7 +58,8 @@ int ENGINE_set_default_DH(ENGINE *e) */ ENGINE *ENGINE_get_default_DH(void) { - return engine_table_select(&dh_table, dummy_nid); + return ossl_engine_table_select(&dh_table, dummy_nid, + OPENSSL_FILE, OPENSSL_LINE); } /* Obtains an DH implementation from an ENGINE functional reference */ |