diff options
author | Geoff Thorpe <geoff@openssl.org> | 2002-12-08 17:45:26 +0100 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2002-12-08 17:45:26 +0100 |
commit | e189872486477c2bb9b041cb00f4390ef4aa911b (patch) | |
tree | d5a3ad328351adddf360315937074087669ee83d /crypto/dsa | |
parent | Since it's defined in draft-ietf-tls-compression-04.txt, let's make (diff) | |
download | openssl-e189872486477c2bb9b041cb00f4390ef4aa911b.tar.xz openssl-e189872486477c2bb9b041cb00f4390ef4aa911b.zip |
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 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_depr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/dsa/dsa_depr.c b/crypto/dsa/dsa_depr.c index c16315389b..cb80457211 100644 --- a/crypto/dsa/dsa_depr.c +++ b/crypto/dsa/dsa_depr.c @@ -91,9 +91,7 @@ DSA *DSA_generate_parameters(int bits, if ((ret=DSA_new()) == NULL) return NULL; - cb.ver = 1; - cb.arg = cb_arg; - cb.cb_1 = callback; + BN_GENCB_set_old(&cb, callback, cb_arg); if(DSA_generate_parameters_ex(ret, bits, seed_in, seed_len, counter_ret, h_ret, &cb)) |