From 3a007aaeab57283041bcd830944f2f4e7478aeda Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Aug 11 2011 05:13:35 +0000 Subject: - note that we care about X.509 support at this point --- diff --git a/src/certread-n.c b/src/certread-n.c index ec0f2ea..f7a4a2c 100644 --- a/src/certread-n.c +++ b/src/certread-n.c @@ -100,7 +100,7 @@ cm_certread_n_main(int fd, struct cm_store_ca *ca, struct cm_store_entry *entry, _exit(ENOMEM); } /* Find the tokens that we might use for cert storage. */ - mech = 0; + mech = CKM_RSA_X_509; slotlist = PK11_GetAllTokens(mech, PR_FALSE, PR_FALSE, NULL); if (slotlist == NULL) { cm_log(1, "Error getting list of tokens.\n");