diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-26 22:16:47 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-26 22:16:47 +0000 |
commit | 775c63fc023cbe1f2f6c2f512482a52986f55753 (patch) | |
tree | 5e8a75113643d514a70bdcd813b784927f009f8c /crypto/bn/bn_print.c | |
parent | db209ec295c358b45332ae48d3041c5b1b25c929 (diff) | |
download | openssl-775c63fc023cbe1f2f6c2f512482a52986f55753.tar.gz |
Reorganize bn_mul.c (no bugfix yet), remove obsolete files in BN library.
Diffstat (limited to 'crypto/bn/bn_print.c')
-rw-r--r-- | crypto/bn/bn_print.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c index 80de7ea500..131aad2e66 100644 --- a/crypto/bn/bn_print.c +++ b/crypto/bn/bn_print.c @@ -278,7 +278,6 @@ err: } #ifndef NO_BIO - #ifndef NO_FP_API int BN_print_fp(FILE *fp, const BIGNUM *a) { @@ -319,5 +318,17 @@ int BN_print(BIO *bp, const BIGNUM *a) end: return(ret); } +#endif +#ifdef BN_DEBUG +void bn_dump1(FILE *o, const char *a, BN_ULONG *b,int n) + { + int i; + fprintf(o, "%s=", a); + for (i=n;i>=0;i--) + { + fprintf(o, "[%08lX]", b[i]); + } + fprintf(o, "\n"); + } #endif |