diff options
author | Ben Laurie <ben@openssl.org> | 1999-06-03 18:04:04 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-06-03 18:04:04 +0000 |
commit | b4f76582d4b834fb4e525d500c03ad38f0cea328 (patch) | |
tree | 7fbf127b998ad9bfff23ee0fbb45dd44c7448810 /crypto/bn/bn_prime.c | |
parent | 213a75dbf21b8f641a9ee90cc12882fc429bb84b (diff) |
More evil cast removal.
Diffstat (limited to 'crypto/bn/bn_prime.c')
-rw-r--r-- | crypto/bn/bn_prime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c index 118eb35159..6fa0f9be1e 100644 --- a/crypto/bn/bn_prime.c +++ b/crypto/bn/bn_prime.c @@ -76,7 +76,7 @@ static int probable_prime_dh(BIGNUM *rnd, int bits, static int probable_prime_dh_strong(BIGNUM *rnd, int bits, BIGNUM *add, BIGNUM *rem, BN_CTX *ctx); BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int strong, BIGNUM *add, - BIGNUM *rem, void (*callback)(int,int,char *), char *cb_arg) + BIGNUM *rem, void (*callback)(int,int,void *), void *cb_arg) { BIGNUM *rnd=NULL; BIGNUM t; @@ -151,8 +151,8 @@ err: return(ret); } -int BN_is_prime(BIGNUM *a, int checks, void (*callback)(int,int,char *), - BN_CTX *ctx_passed, char *cb_arg) +int BN_is_prime(BIGNUM *a, int checks, void (*callback)(int,int,void *), + BN_CTX *ctx_passed, void *cb_arg) { int i,j,c2=0,ret= -1; BIGNUM *check; |