[ssh-pkcs11.c]
     add missing braces found by pedro
This commit is contained in:
Damien Miller 2013-11-21 13:56:06 +11:00
parent 0600c7020f
commit 867e6934be
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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);
}