Fix the update target and remove duplicate file updates
[openssl.git] / apps / ca.c
index d7a9aca07dfbbfb2f788ce1e482c2a6500f37d2e..58f1243cdf650c6f4f2f9c9317225d92456a3659 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1703,7 +1703,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509,
          * Its best to dup the subject DN and then delete any email addresses
          * because this retains its structure.
          */
-        if (!(dn_subject = X509_NAME_dup(subject))) {
+        if ((dn_subject = X509_NAME_dup(subject)) == NULL) {
             BIO_printf(bio_err, "Memory allocation failure\n");
             goto end;
         }