]> andersk Git - openssh.git/blobdiff - rsa.c
- OpenBSD CVS updates:
[openssh.git] / rsa.c
diff --git a/rsa.c b/rsa.c
index 90cae5787a6dbca34d2c7c2749ed839ceaf61f05..5cc987df9116991cd10b14d81c5266da33e0d470 100644 (file)
--- a/rsa.c
+++ b/rsa.c
@@ -145,7 +145,7 @@ rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits)
 void
 rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 {
-       char *inbuf, *outbuf;
+       unsigned char *inbuf, *outbuf;
        int len, ilen, olen;
 
        if (BN_num_bits(key->e) < 2 || !BN_is_odd(key->e))
@@ -173,7 +173,7 @@ rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 void
 rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 {
-       char *inbuf, *outbuf;
+       unsigned char *inbuf, *outbuf;
        int len, ilen, olen;
 
        olen = BN_num_bytes(key->n);
This page took 0.041874 seconds and 4 git commands to generate.