diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-03-24 13:46:58 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-03-24 13:46:58 +0000 |
commit | db98bbc1144cb7ac412562a54aaba0e4d2cde080 (patch) | |
tree | baaaa0458927213e4982b105318367a82dd866c5 /crypto/evp/p_lib.c | |
parent | e42633140e98c7c07a5bc013127e1e6a251995ed (diff) |
Initial support for generalized public key parameters.
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r-- | crypto/evp/p_lib.c | 5 |
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) { |