diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 09df7db64b..c8da89844d 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.54 2018/02/14 16:40:42 jsing Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.55 2018/02/17 13:47:36 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -870,18 +870,21 @@ void *EVP_PKEY_get0(EVP_PKEY *pkey); | |||
870 | 870 | ||
871 | #ifndef OPENSSL_NO_RSA | 871 | #ifndef OPENSSL_NO_RSA |
872 | struct rsa_st; | 872 | struct rsa_st; |
873 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | 873 | struct rsa_st *EVP_PKEY_get0_RSA(EVP_PKEY *pkey); |
874 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | 874 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); |
875 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ||
875 | #endif | 876 | #endif |
876 | #ifndef OPENSSL_NO_DSA | 877 | #ifndef OPENSSL_NO_DSA |
877 | struct dsa_st; | 878 | struct dsa_st; |
878 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | 879 | struct dsa_st *EVP_PKEY_get0_DSA(EVP_PKEY *pkey); |
879 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | 880 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); |
881 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ||
880 | #endif | 882 | #endif |
881 | #ifndef OPENSSL_NO_DH | 883 | #ifndef OPENSSL_NO_DH |
882 | struct dh_st; | 884 | struct dh_st; |
883 | int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | 885 | struct dh_st *EVP_PKEY_get0_DH(EVP_PKEY *pkey); |
884 | struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); | 886 | struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); |
887 | int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ||
885 | #endif | 888 | #endif |
886 | #ifndef OPENSSL_NO_EC | 889 | #ifndef OPENSSL_NO_EC |
887 | struct ec_key_st; | 890 | struct ec_key_st; |