mirror of
git://slackware.nl/current.git
synced 2025-01-20 22:26:48 +01:00
44df9c66d8
patches/packages/mozilla-thunderbird-102.4.2-x86_64-1_slack15.0.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/102.4.2/releasenotes/
23 lines
912 B
Diff
23 lines
912 B
Diff
diff --git a/lib/ssl/authcert.c b/lib/ssl/authcert.c
|
|
--- a/lib/ssl/authcert.c
|
|
+++ b/lib/ssl/authcert.c
|
|
@@ -212,17 +212,17 @@ NSS_GetClientAuthData(void *arg,
|
|
pw_arg);
|
|
} else {
|
|
int nnames = 0;
|
|
char **names = ssl_DistNamesToStrings(caNames, &nnames);
|
|
rv = CERT_FilterCertListByCANames(certList, nnames, names,
|
|
certUsageSSLClient);
|
|
ssl_FreeDistNamesStrings(names, nnames);
|
|
}
|
|
- if ((rv != SECSuccess) || CERT_LIST_EMPTY(certList)) {
|
|
+ if ((rv != SECSuccess) || (certList && CERT_LIST_EMPTY(certList))) {
|
|
CERT_DestroyCertList(certList);
|
|
certList = NULL;
|
|
}
|
|
}
|
|
if (certList == NULL) {
|
|
/* no user certs meeting the nickname/usage requirements found */
|
|
return SECFailure;
|
|
}
|
|
|