mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-09-25 10:58:56 +02:00
- 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
|
- 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]
|
[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.
|
[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
|
20131110
|
||||||
- (dtucker) [regress/keytype.sh] Populate ECDSA key types to be tested by
|
- (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.
|
* Copyright (c) 2010 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -427,7 +427,7 @@ pkcs11_key_included(Key ***keysp, int *nkeys, Key *key)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < *nkeys; i++)
|
for (i = 0; i < *nkeys; i++)
|
||||||
if (key_equal(key, *keysp[i]))
|
if (key_equal(key, (*keysp)[i]))
|
||||||
return (1);
|
return (1);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user