diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-11 21:33:00 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-11 21:33:00 +0000 |
commit | 7f57b076a60235a3b8c6bec703efde40c6418d07 (patch) | |
tree | 0fa0453dc3373146107613c09a5d599a57de02cc /crypto/evp/evp.h | |
parent | 7144c4212a18e01bf805169ad1f3fdd885975759 (diff) |
New functions to get key types without dereferncing EVP_PKEY.
More error checking for RSA pmeth.
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r-- | crypto/evp/evp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index ae7bee8097..73f211e4d3 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -717,6 +717,8 @@ int EVP_PKEY_encrypt_old(unsigned char *enc_key, const unsigned char *key,int key_len, EVP_PKEY *pub_key); int EVP_PKEY_type(int type); +int EVP_PKEY_id(const EVP_PKEY *pkey); +int EVP_PKEY_base_id(const EVP_PKEY *pkey); int EVP_PKEY_bits(EVP_PKEY *pkey); int EVP_PKEY_size(EVP_PKEY *pkey); int EVP_PKEY_assign(EVP_PKEY *pkey,int type,void *key); |