Use digest tables for defaults.
[openssl.git] / ssl / ssl_conf.c
index 9c252fa609094e57e5e5abe7ca3df3bf908c0644..ad20f4434c79499c39316731ecdc4ea6f136892e 100644 (file)
@@ -487,12 +487,12 @@ static int cmd_DHParameters(SSL_CONF_CTX *cctx, const char *value)
     BIO *in = NULL;
     if (cctx->ctx || cctx->ssl) {
         in = BIO_new(BIO_s_file());
-        if (!in)
+        if (in == NULL)
             goto end;
         if (BIO_read_filename(in, value) <= 0)
             goto end;
         dh = PEM_read_bio_DHparams(in, NULL, NULL, NULL);
-        if (!dh)
+        if (dh == NULL)
             goto end;
     } else
         return 1;