[ssh-rsa.c]
     KNF (unexpand)
This commit is contained in:
Damien Miller 2001-11-12 11:07:35 +11:00
parent 6a4a4b9290
commit eacff8533e
2 changed files with 7 additions and 4 deletions

View File

@ -61,6 +61,9 @@
- markus@cvs.openbsd.org 2001/11/10 13:19:45 - markus@cvs.openbsd.org 2001/11/10 13:19:45
[sshd.c] [sshd.c]
cleanup libwrap support (remove bogus comment, bogus close(), add debug, etc). cleanup libwrap support (remove bogus comment, bogus close(), add debug, etc).
- markus@cvs.openbsd.org 2001/11/10 13:22:42
[ssh-rsa.c]
KNF (unexpand)
20011109 20011109
- (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK) - (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK)
@ -6873,4 +6876,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1653 2001/11/12 00:07:11 djm Exp $ $Id: ChangeLog,v 1.1654 2001/11/12 00:07:35 djm Exp $

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: ssh-rsa.c,v 1.12 2001/11/07 22:10:28 markus Exp $"); RCSID("$OpenBSD: ssh-rsa.c,v 1.13 2001/11/10 13:22:42 markus Exp $");
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/err.h> #include <openssl/err.h>
@ -54,7 +54,7 @@ ssh_rsa_sign(
error("ssh_rsa_sign: no RSA key"); error("ssh_rsa_sign: no RSA key");
return -1; return -1;
} }
if (datafellows & SSH_BUG_SIGBLOB) { if (datafellows & SSH_BUG_SIGBLOB) {
error("ssh_rsa_sign: SSH_BUG_SIGBLOB not supported"); error("ssh_rsa_sign: SSH_BUG_SIGBLOB not supported");
return -1; return -1;
} }
@ -128,7 +128,7 @@ ssh_rsa_verify(
error("ssh_rsa_verify: no RSA key"); error("ssh_rsa_verify: no RSA key");
return -1; return -1;
} }
if (datafellows & SSH_BUG_SIGBLOB) { if (datafellows & SSH_BUG_SIGBLOB) {
error("ssh_rsa_verify: SSH_BUG_SIGBLOB not supported"); error("ssh_rsa_verify: SSH_BUG_SIGBLOB not supported");
return -1; return -1;
} }