summaryrefslogtreecommitdiffstats
path: root/rsa.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-01-29 23:27:26 +0100
committerDamien Miller <djm@mindrot.org>2001-01-29 23:27:26 +0100
commit7650bc68420a227212ba0ff5cd4a0d133471b872 (patch)
tree55d8d15e4cdd7407b7086e9c3cf9597539c81071 /rsa.h
parent - (djm) OpenBSD CVS Sync: (diff)
downloadopenssh-7650bc68420a227212ba0ff5cd4a0d133471b872.tar.xz
openssh-7650bc68420a227212ba0ff5cd4a0d133471b872.zip
- (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
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h4
1 files changed, 2 insertions, 2 deletions
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 <openssl/rsa.h>
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 */