diff --git a/ChangeLog b/ChangeLog index eb78c12e5..381b2a961 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ - dtucker@cvs.openbsd.org 2013/11/08 11:15:19 [bufaux.c bufbn.c buffer.c sftp-client.c sftp-common.c sftp-glob.c] [uidswap.c] Include stdlib.h for free() as per the man page. + - markus@cvs.openbsd.org 2013/11/13 13:48:20 + [ssh-pkcs11.c] + add missing braces found by pedro 20131110 - (dtucker) [regress/keytype.sh] Populate ECDSA key types to be tested by diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index 9941e94ed..c49cbf42b 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-pkcs11.c,v 1.10 2013/11/06 23:05:59 djm Exp $ */ +/* $OpenBSD: ssh-pkcs11.c,v 1.11 2013/11/13 13:48:20 markus Exp $ */ /* * Copyright (c) 2010 Markus Friedl. All rights reserved. * @@ -427,7 +427,7 @@ pkcs11_key_included(Key ***keysp, int *nkeys, Key *key) int i; for (i = 0; i < *nkeys; i++) - if (key_equal(key, *keysp[i])) + if (key_equal(key, (*keysp)[i])) return (1); return (0); }