EVP: fetch the EVP_KEYMGMT earlier
[openssl.git] / include / crypto / evp.h
index c9d3075b82754bb726a400d4e706e336ba360d2e..2e0322fa9898ba85edfd5ad22287d02ce642c687 100644 (file)
@@ -23,14 +23,12 @@ struct evp_pkey_ctx_st {
     int operation;
 
     /*
-     * Library context, Key type name and properties associated
-     * with this context
+     * Library context, property query, keytype and keymgmt associated with
+     * this context
      */
     OPENSSL_CTX *libctx;
-    const char *keytype;
     const char *propquery;
-
-    /* cached key manager */
+    const char *keytype;
     EVP_KEYMGMT *keymgmt;
 
     union {