diff options
author | markus <> | 2004-04-08 08:03:15 +0000 |
---|---|---|
committer | markus <> | 2004-04-08 08:03:15 +0000 |
commit | 40d673554117d24c9f46be721235d3e302c06e04 (patch) | |
tree | 341e7f38b840f3e503afb6e471123c0f2ba082c3 /src/lib/libcrypto/asn1/t_pkey.c | |
parent | cbf88de39286be06cd20e0c65b6cb7633dce25a5 (diff) | |
download | openbsd-40d673554117d24c9f46be721235d3e302c06e04.tar.gz openbsd-40d673554117d24c9f46be721235d3e302c06e04.tar.bz2 openbsd-40d673554117d24c9f46be721235d3e302c06e04.zip |
merge 0.9.7d
Diffstat (limited to 'src/lib/libcrypto/asn1/t_pkey.c')
-rw-r--r-- | src/lib/libcrypto/asn1/t_pkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/t_pkey.c b/src/lib/libcrypto/asn1/t_pkey.c index e1c5e5ae13..d15006e654 100644 --- a/src/lib/libcrypto/asn1/t_pkey.c +++ b/src/lib/libcrypto/asn1/t_pkey.c | |||
@@ -139,9 +139,9 @@ int RSA_print(BIO *bp, const RSA *x, int off) | |||
139 | } | 139 | } |
140 | 140 | ||
141 | if (x->d == NULL) | 141 | if (x->d == NULL) |
142 | snprintf(str,sizeof str,"Modulus (%d bit):",BN_num_bits(x->n)); | 142 | BIO_snprintf(str,sizeof str,"Modulus (%d bit):",BN_num_bits(x->n)); |
143 | else | 143 | else |
144 | strlcpy(str,"modulus:",sizeof str); | 144 | BUF_strlcpy(str,"modulus:",sizeof str); |
145 | if (!print(bp,str,x->n,m,off)) goto err; | 145 | if (!print(bp,str,x->n,m,off)) goto err; |
146 | s=(x->d == NULL)?"Exponent:":"publicExponent:"; | 146 | s=(x->d == NULL)?"Exponent:":"publicExponent:"; |
147 | if (!print(bp,s,x->e,m,off)) goto err; | 147 | if (!print(bp,s,x->e,m,off)) goto err; |