]> sourceware.org Git - systemtap.git/commitdiff
RHEL-52491: NSS 3.101.0 compatibility
authorMartin Cermak <mcermak@redhat.com>
Fri, 9 Aug 2024 05:40:43 +0000 (07:40 +0200)
committerMartin Cermak <mcermak@redhat.com>
Fri, 9 Aug 2024 05:40:43 +0000 (07:40 +0200)
After NSS rebased to 3.101.0, systemtap stopped being able to grant
trust to stap-server: https://issues.redhat.com/browse/RHEL-52491 .
This patch fixes it.

client-nss.cxx

index 55266feb7bb40f4c6e590bc7f7023af3ff164cc8..c09f99ca91dd04342d43382dd0b32ee11ce4ab26 100644 (file)
@@ -184,6 +184,7 @@ badCertHandler(void *arg, PRFileDesc *sslSocket)
 
       break;
 
+    case SEC_ERROR_UNKNOWN_ISSUER:
     case SEC_ERROR_CA_CERT_INVALID:
       /* The server's certificate is not trusted. Should we trust it? */
       secStatus = SECFailure; /* Do not trust by default. */
This page took 0.029489 seconds and 5 git commands to generate.