summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-03-24 13:46:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-03-24 13:46:58 +0000
commitdb98bbc1144cb7ac412562a54aaba0e4d2cde080 (patch)
treebaaaa0458927213e4982b105318367a82dd866c5 /crypto/evp/p_lib.c
parente42633140e98c7c07a5bc013127e1e6a251995ed (diff)
Initial support for generalized public key parameters.
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r--crypto/evp/p_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index f18ac62a0f..0d3a69b48a 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -199,6 +199,11 @@ int EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key)
return(key != NULL);
}
+void *EVP_PKEY_get0(EVP_PKEY *pkey)
+ {
+ return pkey->pkey.ptr;
+ }
+
#ifndef OPENSSL_NO_RSA
int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key)
{