summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_print.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-06-20 17:36:11 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-06-20 17:36:11 +0000
commit8623f693d9a5c74f76311aebd29767e89467ecea (patch)
tree03798bbe6a24a55e425f874096d8b6b9486d109a /crypto/bn/bn_print.c
parent11af1a2758baefab1157755c508d7b7490155bab (diff)
New functions CONF_load_bio() and CONF_load_fp() to load a configuration
file from a bio or fp. Added some more constification to the BN library.
Diffstat (limited to 'crypto/bn/bn_print.c')
-rw-r--r--crypto/bn/bn_print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c
index 91418a2351..2f5ab2617b 100644
--- a/crypto/bn/bn_print.c
+++ b/crypto/bn/bn_print.c
@@ -65,7 +65,7 @@
static const char *Hex="0123456789ABCDEF";
/* Must 'Free' the returned data */
-char *BN_bn2hex(BIGNUM *a)
+char *BN_bn2hex(const BIGNUM *a)
{
int i,j,v,z=0;
char *buf;
@@ -100,7 +100,7 @@ err:
}
/* Must 'Free' the returned data */
-char *BN_bn2dec(BIGNUM *a)
+char *BN_bn2dec(const BIGNUM *a)
{
int i=0,num;
char *buf=NULL;
@@ -154,7 +154,7 @@ err:
return(buf);
}
-int BN_hex2bn(BIGNUM **bn, char *a)
+int BN_hex2bn(BIGNUM **bn, const char *a)
{
BIGNUM *ret=NULL;
BN_ULONG l=0;
@@ -220,7 +220,7 @@ err:
return(0);
}
-int BN_dec2bn(BIGNUM **bn, char *a)
+int BN_dec2bn(BIGNUM **bn, const char *a)
{
BIGNUM *ret=NULL;
BN_ULONG l=0;