summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2013-11-13 13:48:21 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2013-11-13 13:48:21 +0000
commitb611d765511e5d5b72cc96425c89a17fda01a687 (patch)
tree646fa7b79d6998222ce346221d201aad4cf200da /usr.bin
parent1f6f4e3594e9f4bc68c451920470618ce498b1be (diff)
add missing braces found by pedro
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-pkcs11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-pkcs11.c b/usr.bin/ssh/ssh-pkcs11.c
index 0aaad11fd37..e5083366896 100644
--- a/usr.bin/ssh/ssh-pkcs11.c
+++ b/usr.bin/ssh/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.
*
@@ -416,7 +416,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);
}