diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 16:41:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 16:41:30 +0000 |
commit | be4ae4c8fa78a60c8d5ad177c8476e798e3787a8 (patch) | |
tree | 9147be0ccddd92a0298fb419d2da81bafb8ec191 /sbin/isakmpd/ike_auth.c | |
parent | 2dab5eb58473c9874077ac55ecd8e4dc7c8d4354 (diff) |
boring cleanups
Diffstat (limited to 'sbin/isakmpd/ike_auth.c')
-rw-r--r-- | sbin/isakmpd/ike_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c index 5dd3c8288dd..c041db08b82 100644 --- a/sbin/isakmpd/ike_auth.c +++ b/sbin/isakmpd/ike_auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_auth.c,v 1.77 2003/06/04 07:31:16 ho Exp $ */ +/* $OpenBSD: ike_auth.c,v 1.78 2003/06/10 16:41:29 deraadt Exp $ */ /* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */ /* @@ -714,7 +714,7 @@ rsa_sig_decode_hash (struct message *msg) id_found = 0; for (i = 0; i < n; i++) - if (id_cert_len[i] == id_len + if (id_cert_len[i] == id_len && id[0] == id_cert[i][0] && memcmp (id + 4, id_cert[i] + 4, id_len - 4) == 0) { |