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


ssl/ssl_rsa.c:296:1: start of procedure SSL_CTX_use_certificate()
294.   }
295.   
296. > int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
297.   {
298.       int rv;

ssl/ssl_rsa.c:299:9: Taking false branch
297.   {
298.       int rv;
299.       if (x == NULL) {
               ^
300.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, ERR_R_PASSED_NULL_PARAMETER);
301.           return (0);

ssl/ssl_rsa.c:303:5: 
301.           return (0);
302.       }
303. >     rv = ssl_security_cert(NULL, ctx, x, 0, 1);
304.       if (rv != 1) {
305.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, rv);
