aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-04-20 13:12:33 +0000
committerRichard Levitte <levitte@openssl.org>2005-04-20 13:12:33 +0000
commit254cfe878e412d5f52e3df084e8ca744aac1d3f6 (patch)
tree2af36b6dd08b856ff5df3e62ce59a5864414beef /crypto/asn1
parented824195a1f4736b7cb3cf2d274323774d5a0a1c (diff)
downloadopenssl-254cfe878e412d5f52e3df084e8ca744aac1d3f6.tar.gz
signed vs. unsigned.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/n_pkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c
index e1bb322416..b500d26512 100644
--- a/crypto/asn1/n_pkey.c
+++ b/crypto/asn1/n_pkey.c
@@ -197,7 +197,7 @@ int i2d_RSA_NET(const RSA *a, unsigned char **pp,
if (cb == NULL)
cb=EVP_read_pw_string;
- i=cb(buf,256,"Enter Private Key password:",1);
+ i=cb((char *)buf,256,"Enter Private Key password:",1);
if (i != 0)
{
ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ASN1_R_BAD_PASSWORD_READ);
@@ -290,7 +290,7 @@ static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
unsigned char key[EVP_MAX_KEY_LENGTH];
EVP_CIPHER_CTX ctx;
- i=cb(buf,256,"Enter Private Key password:",0);
+ i=cb((char *)buf,256,"Enter Private Key password:",0);
if (i != 0)
{
ASN1err(ASN1_F_D2I_NETSCAPE_RSA_2,ASN1_R_BAD_PASSWORD_READ);