test/x509aux.c: Fix argv loop
authorRichard Levitte <levitte@openssl.org>
Wed, 21 Sep 2016 12:44:42 +0000 (14:44 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Sep 2016 08:01:22 +0000 (09:01 +0100)
commit2178c52a8bacfd097a41f3f348fe51d8e4d1873e
treec3eaa2d319c1a9baeac5b24282c35d758b663cf9
parentdb610cb29cd2658c4feb60f4899856f0ac5e9dab
test/x509aux.c: Fix argv loop

There are cases when argc is more trustable than proper argv termination.
Since we trust argc in all other test programs, we might as well treat it
the same way in this program.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 780bbb96bf514f0b4013e9c5725614ba5153c497)
test/x509aux.c