mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Deprecate functions for getting and setting DH values in an EVP_PKEY
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13138)
This commit is contained in:
parent
752419d8f7
commit
0a68a445ae
@ -469,7 +469,7 @@ typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass,
|
||||
(dsa))
|
||||
# endif
|
||||
|
||||
# ifndef OPENSSL_NO_DH
|
||||
# if !defined(OPENSSL_NO_DH) && !defined(OPENSSL_NO_DEPRECATED_3_0)
|
||||
# define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
|
||||
# endif
|
||||
|
||||
@ -1230,7 +1230,7 @@ int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
|
||||
struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
|
||||
struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_DH
|
||||
# if !defined(OPENSSL_NO_DH) && !defined(OPENSSL_NO_DEPRECATED_3_0)
|
||||
struct dh_st;
|
||||
int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
|
||||
struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
|
||||
|
Loading…
Reference in New Issue
Block a user