Reduce optimization in hppa builds
[openssl.git] / apps / dsaparam.c
index 4eb157042e562ac2a0fc5595115a3cc7cb118da9..8bd2e1361bf522549880e775cc8ed448ab39cd2f 100644 (file)
@@ -232,6 +232,8 @@ int dsaparam_main(int argc, char **argv)
             goto end;
         }
         pkey = app_keygen(ctx, "DSA", numbits, verbose);
+        if (pkey == NULL)
+            goto end;
         assert(private);
         if (outformat == FORMAT_ASN1)
             i = i2d_PrivateKey_bio(out, pkey);