diff options
author | Kamil Dudka <kdudka@redhat.com> | 2011-04-04 18:24:32 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2011-04-04 18:34:19 +0200 |
commit | d3408d05935e61a303b5761cc5aa029eb54408f8 (patch) | |
tree | 3b4fddd1e0ed1f90a548031fda2687b233b0878f /lib/nss.c | |
parent | 318c5c802b5481e184def6f711991657be277cc3 (diff) | |
download | curl-d3408d05935e61a303b5761cc5aa029eb54408f8.tar.gz |
nss: fix a crash within SSL_AuthCertificate()
The bug was introduced in 806dbb0 (a wrong value was passed in as the
first argument to the default callback in our wrapper).
Diffstat (limited to 'lib/nss.c')
-rw-r--r-- | lib/nss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |