Blame SOURCES/pam_pkcs11-0.6.2-use_pkix.patch

b8ee85
diff -up ./src/common/pkcs11_lib.c.pkix ./src/common/pkcs11_lib.c
b8ee85
--- ./src/common/pkcs11_lib.c.pkix	2016-01-11 17:50:54.125209641 -0800
b8ee85
+++ ./src/common/pkcs11_lib.c	2016-01-11 17:51:48.586525038 -0800
b8ee85
@@ -198,9 +198,11 @@ int crypto_init(cert_policy *policy) {
b8ee85
   }
b8ee85
 
b8ee85
   if (rv != SECSuccess) {
b8ee85
-    DBG1("NSS_Initialize faile: %s", SECU_Strerror(PR_GetError()));
b8ee85
+    DBG1("NSS_Initialize failed: %s", SECU_Strerror(PR_GetError()));
b8ee85
     return -1;
b8ee85
   }
b8ee85
+  (void )CERT_SetUsePKIXForValidation(PR_TRUE);
b8ee85
+
b8ee85
   /* register a callback */
b8ee85
   PK11_SetPasswordFunc(password_passthrough);
b8ee85