From 7684ee17ee96426970c00cb44d9d00b6611b9a57 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 17 Mar 2000 23:40:15 +1100 Subject: - OpenBSD CVS updates: - [atomicio.c auth-krb4.c bufaux.c channels.c compress.c fingerprint.c] [packet.h radix.c rsa.c scp.c ssh-agent.c ssh-keygen.c sshconnect.c] [sshd.c] pedantic: signed vs. unsigned, void*-arithm, etc - [ssh.1 sshd.8] Various cleanups and standardizations. --- rsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rsa.c') diff --git a/rsa.c b/rsa.c index 02392529..babbf2b7 100644 --- a/rsa.c +++ b/rsa.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$Id: rsa.c,v 1.10 2000/03/09 10:27:51 damien Exp $"); +RCSID("$Id: rsa.c,v 1.11 2000/03/17 12:40:16 damien Exp $"); #include "rsa.h" #include "ssh.h" @@ -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); -- cgit v1.2.3