EVP: Limit the diverse key parameter functions to domain params only
[oweals/openssl.git] / ssl / ssl_asn1.c
index d2d23d5dc958ef68d1fb971f9ccb0ed589cfd1e3..b5c6654e9250a57a90cc3cca576631ce11aa26d7 100644 (file)
@@ -250,7 +250,7 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
     if (as == NULL)
         goto err;
 
-    if (!a || !*a) {
+    if (a == NULL || *a == NULL) {
         ret = SSL_SESSION_new();
         if (ret == NULL)
             goto err;