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


ssl/ssl_rsa.c:302:1: start of procedure SSL_CTX_use_certificate()
300.   }
301.   
302. > int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
303.   {
304.       int rv;

ssl/ssl_rsa.c:305:9: Taking false branch
303.   {
304.       int rv;
305.       if (x == NULL) {
               ^
306.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, ERR_R_PASSED_NULL_PARAMETER);
307.           return (0);

ssl/ssl_rsa.c:309:5: 
307.           return (0);
308.       }
309. >     rv = ssl_security_cert(NULL, ctx, x, 0, 1);
310.       if (rv != 1) {
311.           SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE, rv);
