diff options
author | Bodo Möller <bodo@openssl.org> | 2002-08-09 11:58:28 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-08-09 11:58:28 +0000 |
commit | 41fdcfa71e39f8c1b8c6e27f1968e1847628c92c (patch) | |
tree | b45bbcd566c78f775135526502667b3c1b061388 /crypto | |
parent | 60cc56b1a937a794c5620eec45f4244461473075 (diff) |
fix warnings
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ec/ectest.c | 3 | ||||
-rw-r--r-- | crypto/ecdh/ecdhtest.c | 1 | ||||
-rw-r--r-- | crypto/ecdsa/ecdsatest.c | 9 |
3 files changed, 13 insertions, 0 deletions
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c index 7f1af44a6e..adf7c94bdb 100644 --- a/crypto/ec/ectest.c +++ b/crypto/ec/ectest.c @@ -105,6 +105,9 @@ int main(int argc, char * argv[]) { puts("Elliptic curves are disabled."); retur exit(1); \ } while (0) +void prime_field_tests(void); +void char2_field_tests(void); + #if 0 static void timings(EC_GROUP *group, int multi, BN_CTX *ctx) { diff --git a/crypto/ecdh/ecdhtest.c b/crypto/ecdh/ecdhtest.c index 65d0d14c35..a9ee28caf9 100644 --- a/crypto/ecdh/ecdhtest.c +++ b/crypto/ecdh/ecdhtest.c @@ -117,6 +117,7 @@ static void MS_CALLBACK cb(int p, int n, void *arg); static const char rnd_seed[] = "string to make the random number generator think it has entropy"; +int test_ecdh_curve(int , char *, BN_CTX *, BIO *); int test_ecdh_curve(int nid, char *text, BN_CTX *ctx, BIO *out) { diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index f69d8e9660..b410fd68af 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/crypto/ecdsa/ecdsatest.c @@ -116,6 +116,15 @@ static const char rnd_seed[] = "string to make the random number generator think ECDSA_SIG* signatures[ECDSA_NIST_TESTS]; unsigned char digest[ECDSA_NIST_TESTS][20]; +/* some declarations */ +void clear_ecdsa(EC_KEY *); +int set_p192_param(EC_KEY *); +int set_p239_param(EC_KEY *); +int test_sig_vrf(EC_KEY *, const unsigned char *); +int test_x962_sig_vrf(EC_KEY *, const unsigned char *, + const char *, const char *, const char *); +int ecdsa_cmp(const EC_KEY *, const EC_KEY *); + void clear_ecdsa(EC_KEY *ecdsa) { if (!ecdsa) |