mirror of git://anongit.mindrot.org/openssh.git
- markus@cvs.openbsd.org 2013/11/13 13:48:20
[ssh-pkcs11.c] add missing braces found by pedro
This commit is contained in:
parent
0600c7020f
commit
867e6934be
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue