aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss.c b/lib/nss.c
index a3bd77cfb..7377e72fc 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -633,7 +633,7 @@ static SECStatus nss_auth_cert_hook(void *arg, PRFileDesc *fd, PRBool checksig,
return SECSuccess;
}
- return SSL_AuthCertificate(arg, fd, checksig, isServer);
+ return SSL_AuthCertificate(CERT_GetDefaultCertDB(), fd, checksig, isServer);
}
static SECStatus BadCertHandler(void *arg, PRFileDesc *sock)