]> andersk Git - openssh.git/blobdiff - rsa.c
Hopefully things did not get mixed around too much. It compiles under
[openssh.git] / rsa.c
diff --git a/rsa.c b/rsa.c
index 7cfcc80db5ff996f6a7249dfcd250f52dbf8d35e..04bb239e5324796ffe39bfc079ceb17e9e5a46a7 100644 (file)
--- a/rsa.c
+++ b/rsa.c
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: rsa.c,v 1.17 2000/11/12 19:50:37 markus Exp $");
+RCSID("$OpenBSD: rsa.c,v 1.19 2001/01/21 19:05:54 markus Exp $");
 
 #include "rsa.h"
-#include "ssh.h"
+#include "log.h"
 #include "xmalloc.h"
-#include "entropy.h"
 
 void
 rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 {
-       unsigned char *inbuf, *outbuf;
+       u_char *inbuf, *outbuf;
        int len, ilen, olen;
 
        if (BN_num_bits(key->e) < 2 || !BN_is_odd(key->e))
@@ -98,7 +97,7 @@ rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 void
 rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
 {
-       unsigned char *inbuf, *outbuf;
+       u_char *inbuf, *outbuf;
        int len, ilen, olen;
 
        olen = BN_num_bytes(key->n);
This page took 0.033489 seconds and 4 git commands to generate.