diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-30 16:21:39 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-03 01:23:56 +0200 |
commit | 1258396d73cf937e4daaf2c35377011b9366f956 (patch) | |
tree | 6448183bf775904be79b29786795ade508f7fe4d /apps/gendsa.c | |
parent | Adapt some test recipes to the newer cmdstr() (diff) | |
download | openssl-1258396d73cf937e4daaf2c35377011b9366f956.tar.xz openssl-1258396d73cf937e4daaf2c35377011b9366f956.zip |
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 <levitte@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'apps/gendsa.c')
-rw-r--r-- | apps/gendsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c index 6769968cdf..bf01f563ba 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -168,7 +168,7 @@ int gendsa_main(int argc, char **argv) BIO_printf(bio_err, "%ld semi-random bytes loaded\n", app_RAND_load_files(inrand)); - BIO_printf(bio_err, "Generating DSA key, %d bits\n", BN_num_bits(dsa->p)); + BIO_printf(bio_err, "Generating DSA key, %d bits\n", BN_num_bits(DSA_get0_p(dsa))); if (!DSA_generate_key(dsa)) goto end; |