/pidgin/main: 9086eaeacd2c: Improve NSS handling for unknown CAs
Daniel Atallah
datallah at pidgin.im
Mon Oct 27 13:32:30 EDT 2014
Changeset: 9086eaeacd2c2e7d045297ca37ab0ed1dafd77b9
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2014-10-27 09:14 -0400
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/9086eaeacd2c
Description:
Improve NSS handling for unknown CAs
diffstat:
libpurple/plugins/ssl/ssl-nss.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff --git a/libpurple/plugins/ssl/ssl-nss.c b/libpurple/plugins/ssl/ssl-nss.c
--- a/libpurple/plugins/ssl/ssl-nss.c
+++ b/libpurple/plugins/ssl/ssl-nss.c
@@ -1075,6 +1075,7 @@ static void x509_verify_cert(PurpleCerti
case SEC_ERROR_REVOKED_CERTIFICATE:
*flags |= PURPLE_CERTIFICATE_REVOKED;
break;
+ case SEC_ERROR_UNKNOWN_ISSUER:
case SEC_ERROR_UNTRUSTED_ISSUER:
if (crt_dat->isRoot) {
*flags |= PURPLE_CERTIFICATE_SELF_SIGNED;
More information about the Commits
mailing list