20 lines
868 B
Plaintext
20 lines
868 B
Plaintext
$OpenBSD: patch-services_crypto_modules_WeaveCrypto_js,v 1.5 2012/02/20 20:21:43 landry Exp $
|
|
Fix libnss3 opening
|
|
--- services/crypto/modules/WeaveCrypto.js.orig Thu Aug 11 23:41:22 2011
|
|
+++ services/crypto/modules/WeaveCrypto.js Fri Aug 19 11:16:12 2011
|
|
@@ -158,12 +158,12 @@ WeaveCrypto.prototype = {
|
|
Cc["@mozilla.org/psm;1"].getService(Ci.nsISupports);
|
|
|
|
// Open the NSS library.
|
|
- let path = ctypes.libraryName("nss3");
|
|
+ let path = '${LOCALBASE}/lib/libnss3.so';
|
|
|
|
// XXX really want to be able to pass specific dlopen flags here.
|
|
var nsslib;
|
|
try {
|
|
- this.log("Trying NSS library without path");
|
|
+ this.log("Trying NSS library with path " + path);
|
|
nsslib = ctypes.open(path);
|
|
} catch(e) {
|
|
// In case opening the library without a full path fails,
|