Fix some of the command line password stuff. New function
[openssl.git] / crypto / evp / evp.h
index 2191aee1db48b9bfcc87414bdd1ce032cc240626..a4ed6c715dd89a7782d20a13c0fc36c17ea35b26 100644 (file)
@@ -632,6 +632,8 @@ int         i2d_PublicKey(EVP_PKEY *a, unsigned char **pp);
 
 EVP_PKEY *     d2i_PrivateKey(int type,EVP_PKEY **a, unsigned char **pp,
                        long length);
+EVP_PKEY *     d2i_AutoPrivateKey(EVP_PKEY **a, unsigned char **pp,
+                       long length);
 int            i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp);
 
 int EVP_PKEY_copy_parameters(EVP_PKEY *to,EVP_PKEY *from);