=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-rsa.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/ssh/Attic/auth-rsa.c 1999/12/02 20:17:49 1.15 +++ src/usr.bin/ssh/Attic/auth-rsa.c 1999/12/02 23:05:08 1.16 @@ -16,7 +16,7 @@ */ #include "includes.h" -RCSID("$Id: auth-rsa.c,v 1.15 1999/12/02 20:17:49 markus Exp $"); +RCSID("$Id: auth-rsa.c,v 1.16 1999/12/02 23:05:08 markus Exp $"); #include "rsa.h" #include "packet.h" @@ -253,15 +253,15 @@ } /* cp now points to the comment part. */ + /* Check if the we have found the desired key (identified by its modulus). */ + if (BN_cmp(n, client_n) != 0) + continue; + /* check the real bits */ if (bits != BN_num_bits(n)) log("Warning: %s, line %ld: keysize mismatch: " "actual %d vs. announced %d.", file, linenum, BN_num_bits(n), bits); - - /* Check if the we have found the desired key (identified by its modulus). */ - if (BN_cmp(n, client_n) != 0) - continue; /* We have found the desired key. */