diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-04-02 20:11:39 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-04-02 20:11:39 +0000 |
commit | df7e51085a411749032816e49f2a767c6468fafd (patch) | |
tree | dd1c104eb762be3a2a8b9c3b807911c00272502d /usr.bin | |
parent | b1c33d16fce2d03775f9ebc9e2ab1550022c4d58 (diff) |
ignore SSH_BUG_SIGBLOB for ssh-rsa; #187
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/ssh-rsa.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/ssh/ssh-rsa.c b/usr.bin/ssh/ssh-rsa.c index b2fcc3408ad..fe4dc1f8dff 100644 --- a/usr.bin/ssh/ssh-rsa.c +++ b/usr.bin/ssh/ssh-rsa.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-rsa.c,v 1.17 2002/03/29 19:18:33 stevesk Exp $"); +RCSID("$OpenBSD: ssh-rsa.c,v 1.18 2002/04/02 20:11:38 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -55,10 +55,6 @@ ssh_rsa_sign( error("ssh_rsa_sign: no RSA key"); return -1; } - if (datafellows & SSH_BUG_SIGBLOB) { - error("ssh_rsa_sign: SSH_BUG_SIGBLOB not supported"); - return -1; - } nid = (datafellows & SSH_BUG_RSASIGMD5) ? NID_md5 : NID_sha1; if ((evp_md = EVP_get_digestbynid(nid)) == NULL) { error("ssh_rsa_sign: EVP_get_digestbynid %d failed", nid); @@ -126,10 +122,6 @@ ssh_rsa_verify( error("ssh_rsa_verify: no RSA key"); return -1; } - if (datafellows & SSH_BUG_SIGBLOB) { - error("ssh_rsa_verify: SSH_BUG_SIGBLOB not supported"); - return -1; - } if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) { error("ssh_rsa_verify: n too small: %d bits", BN_num_bits(key->rsa->n)); |