Use correct values for lookup method.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 29 May 2009 14:01:35 +0000 (14:01 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 29 May 2009 14:01:35 +0000 (14:01 +0000)
engines/e_capi.c

index 652f5282a420715c7d288ea226c1229ec2075e4c..fd7f13ca2cfc5ffbd949a9a316ce0419dc774618 100644 (file)
@@ -162,11 +162,11 @@ struct CAPI_CTX_st {
 
 /* Lookup string meanings in load_private_key */
 /* Substring of subject: uses "storename" */
-#define CAPI_LU_SUBSTR         0
+#define CAPI_LU_SUBSTR         1
 /* Friendly name: uses storename */
-#define CAPI_LU_FNAME          1
+#define CAPI_LU_FNAME          2
 /* Container name: uses cspname, keytype */
-#define CAPI_LU_CONTNAME       2
+#define CAPI_LU_CONTNAME       3
        int lookup_method;
 /* Info to dump with dumpcerts option */
 /* Issuer and serial name strings */