Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > ba17bf283650f0bfe584474187aa5a3b > files > 11

mozilla-firefox-2.0.0.6-12mdv2008.0.src.rpm

--- mozilla/security/manager/ssl/src/nsNSSComponent.cpp.castella	2003-10-21 18:11:49.000000000 -0400
+++ mozilla/security/manager/ssl/src/nsNSSComponent.cpp	2004-10-25 05:08:35.544176541 -0400
@@ -450,6 +450,17 @@
         break;
       }
     }
+
+    // try to load castella pkcs11 provider
+    // If a module exists with the same name, delete it. 
+
+    int modType;
+    SECMOD_DeleteModule(NS_CONST_CAST(char*, "Castella"), &modType);
+#if defined(__x86_64__)
+    SECMOD_AddNewModule(NS_CONST_CAST(char*, "Castella"), PR_GetLibraryName("/usr/lib64", "castella"), 0, 0);
+#else
+    SECMOD_AddNewModule(NS_CONST_CAST(char*, "Castella"), PR_GetLibraryName("/usr/lib", "castella"), 0, 0);
+#endif
   }
 }