diff options
author | Bodo Möller <bodo@openssl.org> | 2000-02-02 22:18:01 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-02-02 22:18:01 +0000 |
commit | aff0825c618f343dcccbeb633ba27bc947c50c77 (patch) | |
tree | 7a936d3a3038b731a5b55161eab9137f460ccdf7 /doc/crypto | |
parent | e74231ed9e5b7a95fd7af625a09628d69eac76c3 (diff) |
Tolerate negative numbers in BN_is_prime.
Diffstat (limited to 'doc/crypto')
-rw-r--r-- | doc/crypto/BN_generate_prime.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/crypto/BN_generate_prime.pod b/doc/crypto/BN_generate_prime.pod index ab84d3fcfc..bf6290ab9a 100644 --- a/doc/crypto/BN_generate_prime.pod +++ b/doc/crypto/BN_generate_prime.pod @@ -11,11 +11,12 @@ BN_generate_prime, BN_is_prime, BN_is_prime_fasttest - Generate primes and test BIGNUM *BN_generate_prime(BIGNUM *ret, int num, int safe, BIGNUM *add, BIGNUM *rem, void (*callback)(int, int, void *), void *cb_arg); - int BN_is_prime(BIGNUM *a, int checks, void (*callback)(int, int, + int BN_is_prime(const BIGNUM *a, int checks, void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg); - int BN_is_prime_fasttest(BIGNUM *a, int checks, void (*callback)(int, - int, void *), BN_CTX *ctx, void *cb_arg, int do_trial_division); + int BN_is_prime_fasttest(const BIGNUM *a, int checks, + void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg, + int do_trial_division); =head1 DESCRIPTION |