ssl/ssl_rsa.c:374: error: NULL_DEREFERENCE
  pointer `null` is dereferenced by call to `ssl_security_cert()` at line 374, column 10.
Showing all 3 steps of the trace


ssl/ssl_rsa.c:367:1: start of procedure SSL_CTX_use_certificate()
365.   }
366.   
367. > int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
368.   {
369.       int rv;

ssl/ssl_rsa.c:370:9: Taking false branch
368.   {
369.       int rv;
370.       if (x == NULL) {
               ^
371.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, ERR_R_PASSED_NULL_PARAMETER);
372.           return (0);

ssl/ssl_rsa.c:374:5: 
372.           return (0);
373.       }
374. >     rv = ssl_security_cert(NULL, ctx, x, 0, 1);
375.       if (rv != 1) {
376.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, rv);
