=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-dss.c,v retrieving revision 1.19.8.2 retrieving revision 1.20 diff -u -r1.19.8.2 -r1.20 --- src/usr.bin/ssh/ssh-dss.c 2006/11/08 00:44:05 1.19.8.2 +++ src/usr.bin/ssh/ssh-dss.c 2006/03/19 18:51:18 1.20 @@ -1,4 +1,3 @@ -/* $OpenBSD: ssh-dss.c,v 1.19.8.2 2006/11/08 00:44:05 brad Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -23,15 +22,14 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include "includes.h" #include #include -#include - #include "xmalloc.h" #include "buffer.h" +#include "bufaux.h" #include "compat.h" #include "log.h" #include "key.h" @@ -158,9 +156,8 @@ fatal("ssh_dss_verify: BN_new failed"); if ((sig->s = BN_new()) == NULL) fatal("ssh_dss_verify: BN_new failed"); - if ((BN_bin2bn(sigblob, INTBLOB_LEN, sig->r) == NULL) || - (BN_bin2bn(sigblob+ INTBLOB_LEN, INTBLOB_LEN, sig->s) == NULL)) - fatal("ssh_dss_verify: BN_bin2bn failed"); + BN_bin2bn(sigblob, INTBLOB_LEN, sig->r); + BN_bin2bn(sigblob+ INTBLOB_LEN, INTBLOB_LEN, sig->s); /* clean up */ memset(sigblob, 0, len);