Suppress CT callback as appropriate
[openssl.git] / apps / dsa.c
index ed5bf0175fc53e644009bda1a5a3282bd4da387e..1c841a3a80aaa9b1d75bf9062e153260687cf9cd 100644 (file)
@@ -243,8 +243,10 @@ int dsa_main(int argc, char **argv)
     }
 
     if (modulus) {
+        BIGNUM *pub_key = NULL;
+        DSA_get0_key(dsa, &pub_key, NULL);
         BIO_printf(out, "Public Key=");
-        BN_print(out, dsa->pub_key);
+        BN_print(out, pub_key);
         BIO_printf(out, "\n");
     }