diff --git a/security/nss/lib/jar/jarevil.c b/security/nss/lib/jar/jarevil.c index 7b2dbfebe2d8..36131ab6deb5 100644 --- a/security/nss/lib/jar/jarevil.c +++ b/security/nss/lib/jar/jarevil.c @@ -42,6 +42,7 @@ * */ +#include "nssrenam.h" #include "jar.h" #include "jarint.h" @@ -342,7 +343,7 @@ PR_STATIC_CALLBACK(void) jar_moz_perm_fn (void *data) PORT_SetError (perm_data->error); - status = __CERT_AddTempCertToPerm (perm_data->cert, perm_data->nickname, perm_data->trust); + status = CERT_AddTempCertToPerm (perm_data->cert, perm_data->nickname, perm_data->trust); perm_data->status = status; perm_data->error = PORT_GetError(); diff --git a/security/nss/lib/nss/nssrenam.h b/security/nss/lib/nss/nssrenam.h index 7791173f5d52..63203fb28ba9 100644 --- a/security/nss/lib/nss/nssrenam.h +++ b/security/nss/lib/nss/nssrenam.h @@ -35,6 +35,7 @@ #define __nssrenam_h_ #define CERT_NewTempCertificate __CERT_NewTempCertificate +#define CERT_AddTempCertToPerm __CERT_AddTempCertToPerm #define PK11_CreateContextByRawKey __PK11_CreateContextByRawKey #define PK11_GetKeyData __PK11_GetKeyData #define nss_InitLock __nss_InitLock