summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 22:20:07 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 22:20:07 +0000
commit73d2257d978c7a201d6a914dc141ea1484d9aa6f (patch)
tree6089f64e2f7f10883762c3a9faa90001a526abdc /crypto/bn/bn_prime.c
parent540e6c172e0e8456bda34bf71dd23e618d2eeb9d (diff)
Remove NOPROTO-related macros.
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 e39febe367..28610766d0 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)(P_I_I_P), char *cb_arg)
+ BIGNUM *rem, void (*callback)(int,int,char *), char *cb_arg)
{
BIGNUM *rnd=NULL;
BIGNUM t;
@@ -151,7 +151,7 @@ err:
return(ret);
}
-int BN_is_prime(BIGNUM *a, int checks, void (*callback)(P_I_I_P),
+int BN_is_prime(BIGNUM *a, int checks, void (*callback)(int,int,char *),
BN_CTX *ctx_passed, char *cb_arg)
{
int i,j,c2=0,ret= -1;