mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
ITS#7135 MozNSS, PEM: fix segfault when TLS certificate key is not set
Red Hat Bugzilla: #772890
This commit is contained in:
parent
ce2c041671
commit
1107103dd7
@ -2267,8 +2267,8 @@ tlsm_deferred_ctx_init( void *arg )
|
||||
}
|
||||
} else { /* set up secure server */
|
||||
SSLKEAType certKEA;
|
||||
CERTCertificate *serverCert;
|
||||
SECKEYPrivateKey *serverKey;
|
||||
CERTCertificate *serverCert = NULL;
|
||||
SECKEYPrivateKey *serverKey = NULL;
|
||||
SECStatus status;
|
||||
|
||||
/* must have a certificate for the server to use */
|
||||
|
Loading…
x
Reference in New Issue
Block a user