From 1258396d73cf937e4daaf2c35377011b9366f956 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 30 Mar 2016 15:21:39 +0100 Subject: Make the DSA structure opaque Move the dsa_st structure out of the public header file. Add some accessor functions to enable access to the internal fields, and update all internal usage to use the new functions. Reviewed-by: Richard Levitte Reviewed-by: Stephen Henson --- apps/dsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dsa.c') diff --git a/apps/dsa.c b/apps/dsa.c index ed5bf0175f..9038e3bfb7 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -244,7 +244,7 @@ int dsa_main(int argc, char **argv) if (modulus) { BIO_printf(out, "Public Key="); - BN_print(out, dsa->pub_key); + BN_print(out, DSA_get0_pub_key(dsa)); BIO_printf(out, "\n"); } -- cgit v1.2.3