mirror of
https://github.com/curl/curl.git
synced 2026-08-01 17:20:30 +03: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
1 changed files with 1 additions and 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue