diff options
author | Geoff Thorpe <geoff@openssl.org> | 2002-12-08 16:45:26 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2002-12-08 16:45:26 +0000 |
commit | e189872486477c2bb9b041cb00f4390ef4aa911b (patch) | |
tree | d5a3ad328351adddf360315937074087669ee83d /apps/dsaparam.c | |
parent | fdaea9ed2e5644b98baae983ce7a55100c956999 (diff) | |
download | openssl-new-e189872486477c2bb9b041cb00f4390ef4aa911b.tar.gz |
Nils Larsch submitted;
- a patch to fix a memory leak in rsa_gen.c
- a note about compiler warnings with unions
- a note about improving structure element names
This applies his patch and implements a solution to the notes.
Diffstat (limited to 'apps/dsaparam.c')
-rw-r--r-- | apps/dsaparam.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/dsaparam.c b/apps/dsaparam.c index 63e2cab45f..7a3110136c 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -281,10 +281,7 @@ bad: if (numbits > 0) { BN_GENCB cb; - cb.ver = 2; - cb.cb_2 = dsa_cb; - cb.arg = bio_err; - + BN_GENCB_set(&cb, dsa_cb, bio_err); assert(need_rand); dsa = DSA_new(); if(!dsa) |