summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2002-12-08 16:45:26 +0000
committerGeoff Thorpe <geoff@openssl.org>2002-12-08 16:45:26 +0000
commite189872486477c2bb9b041cb00f4390ef4aa911b (patch)
treed5a3ad328351adddf360315937074087669ee83d /crypto/bn/bn_prime.c
parentfdaea9ed2e5644b98baae983ce7a55100c956999 (diff)
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/bn/bn_prime.c')
-rw-r--r--crypto/bn/bn_prime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c
index a9ec01d916..43eb9e6dfd 100644
--- a/crypto/bn/bn_prime.c
+++ b/crypto/bn/bn_prime.c
@@ -142,11 +142,11 @@ int BN_GENCB_call(BN_GENCB *cb, int a, int b)
{
case 1:
/* Deprecated-style callbacks */
- cb->cb_1(a, b, cb->arg);
+ cb->cb.cb_1(a, b, cb->arg);
return 1;
case 2:
/* New-style callbacks */
- return cb->cb_2(a, b, cb);
+ return cb->cb.cb_2(a, b, cb);
default:
break;
}