]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/d2i_pu.c
Remove parentheses of return.
[thirdparty/openssl.git] / crypto / asn1 / d2i_pu.c
index 77c643bcf6a36009ac46a65681367adf2a234b3c..9452e08a5874c654e35d170f1d34b8eb338b5514 100644 (file)
@@ -27,7 +27,7 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
     if ((a == NULL) || (*a == NULL)) {
         if ((ret = EVP_PKEY_new()) == NULL) {
             ASN1err(ASN1_F_D2I_PUBLICKEY, ERR_R_EVP_LIB);
-            return (NULL);
+            return NULL;
         }
     } else
         ret = *a;
@@ -69,9 +69,9 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
     }
     if (a != NULL)
         (*a) = ret;
-    return (ret);
+    return ret;
  err:
     if (a == NULL || *a != ret)
         EVP_PKEY_free(ret);
-    return (NULL);
+    return NULL;
 }