mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
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).
This commit is contained in:
parent
318c5c802b
commit
d3408d0593
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user