diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-15 14:16:57 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-15 14:16:57 +0000 |
commit | fbc164ec2fcc4d8aa360b01876c1e4e6190c6d0b (patch) | |
tree | 39a58d4c8048f9706533c255a02a52b2d5bc707f /fips/fips_utl.h | |
parent | 943a0ceed0c35bd17c6c4deae087bb77308d6830 (diff) |
Add support for SigGen and KeyPair tests.
Diffstat (limited to 'fips/fips_utl.h')
-rw-r--r-- | fips/fips_utl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fips/fips_utl.h b/fips/fips_utl.h index 63541d996e..3b8100cafa 100644 --- a/fips/fips_utl.h +++ b/fips/fips_utl.h @@ -52,8 +52,8 @@ int hex2bin(const char *in, unsigned char *out); unsigned char *hex2bin_m(const char *in, long *plen); int do_hex2bn(BIGNUM **pr, const char *in); -int do_bn_print(FILE *out, BIGNUM *bn); -int do_bn_print_name(FILE *out, const char *name, BIGNUM *bn); +int do_bn_print(FILE *out, const BIGNUM *bn); +int do_bn_print_name(FILE *out, const char *name, const BIGNUM *bn); int parse_line(char **pkw, char **pval, char *linebuf, char *olinebuf); BIGNUM *hex2bn(const char *in); int bin2hex(const unsigned char *in,int len,char *out); @@ -171,7 +171,7 @@ int do_hex2bn(BIGNUM **pr, const char *in) return r; } -int do_bn_print(FILE *out, BIGNUM *bn) +int do_bn_print(FILE *out, const BIGNUM *bn) { int len, i; unsigned char *tmp; @@ -195,7 +195,7 @@ int do_bn_print(FILE *out, BIGNUM *bn) return 1; } -int do_bn_print_name(FILE *out, const char *name, BIGNUM *bn) +int do_bn_print_name(FILE *out, const char *name, const BIGNUM *bn) { int r; fprintf(out, "%s = ", name); |