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


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

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

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