From 7650bc68420a227212ba0ff5cd4a0d133471b872 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 30 Jan 2001 09:27:26 +1100 Subject: - (djm) OpenBSD CVS Sync: - markus@cvs.openbsd.org 2001/01/29 12:47:32 [rsa.c rsa.h ssh-agent.c sshconnect1.c sshd.c] handle rsa_private_decrypt failures; helps against the Bleichenbacher pkcs#1 attack --- rsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rsa.h') diff --git a/rsa.h b/rsa.h index 57d72cc78..713d31281 100644 --- a/rsa.h +++ b/rsa.h @@ -11,7 +11,7 @@ * called by a name other than "ssh" or "Secure Shell". */ -/* RCSID("$OpenBSD: rsa.h,v 1.9 2000/11/12 19:50:38 markus Exp $"); */ +/* RCSID("$OpenBSD: rsa.h,v 1.10 2001/01/29 19:47:30 markus Exp $"); */ #ifndef RSA_H #define RSA_H @@ -20,6 +20,6 @@ #include void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); -void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); +int rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); #endif /* RSA_H */ -- cgit v1.2.3