]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- markus@cvs.openbsd.org 2013/11/13 13:48:20
authorDamien Miller <djm@mindrot.org>
Thu, 21 Nov 2013 02:56:06 +0000 (13:56 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 21 Nov 2013 02:56:06 +0000 (13:56 +1100)
     [ssh-pkcs11.c]
     add missing braces found by pedro

ChangeLog
ssh-pkcs11.c

index eb78c12e5495f285831d55c5acc7bbb71f6d4468..381b2a961ebf034473fa1fe1aed4415d9fad269a 100644 (file)
--- 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
index 9941e94ed4dd992ca32aaf4bd9ce7e2bcf7d843c..c49cbf42b133dbac12dea9607e0b9185f80377ec 100644 (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);
 }