Add functionality to help making self-signed certificate.
[openssl.git] / crypto / evp / evp.h
index a58ece3a408dd83a8607f1f50f8b205b3faecbac..4e4a667ab84d72f17f39fe981cdc485cebc00676 100644 (file)
@@ -277,9 +277,7 @@ struct env_md_st
 struct env_md_ctx_st
        {
        const EVP_MD *digest;
-#ifndef OPENSSL_NO_ENGINE
        ENGINE *engine; /* functional reference if 'digest' is ENGINE-provided */
-#endif
        unsigned long flags;
        void *md_data;
        } /* EVP_MD_CTX */;
@@ -351,9 +349,7 @@ typedef struct evp_cipher_info_st
 struct evp_cipher_ctx_st
        {
        const EVP_CIPHER *cipher;
-#ifndef OPENSSL_NO_ENGINE
        ENGINE *engine; /* functional reference if 'cipher' is ENGINE-provided */
-#endif
        int encrypt;            /* encrypt or decrypt */
        int buf_len;            /* number we have left */
 
@@ -758,6 +754,8 @@ int EVP_PKEY_missing_parameters(EVP_PKEY *pkey);
 int EVP_PKEY_save_parameters(EVP_PKEY *pkey,int mode);
 int EVP_PKEY_cmp_parameters(EVP_PKEY *a,EVP_PKEY *b);
 
+int EVP_PKEY_cmp(EVP_PKEY *a,EVP_PKEY *b);
+
 int EVP_CIPHER_type(const EVP_CIPHER *ctx);
 
 /* calls methods */