nkeys not used any more, don't increment
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:40 +0000 (17:22 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:40 +0000 (17:22 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24915 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/hx509/collector.c

index ab5795e64677861c1fb8541abdcd0dbd0eb48691..3aaa17e6cd61ed60aa9e9f950e54fdc16cff6a2e 100644 (file)
@@ -305,7 +305,7 @@ _hx509_collector_collect_private_keys(hx509_context context,
            c->val.data[i]->private_key = NULL;
        }
     }
-    (*keys)[nkeys++] = NULL;
+    (*keys)[nkeys] = NULL;
 
     return 0;
 }