Fixup actually update danetest.c

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Viktor Dukhovni 2016-01-07 19:16:10 -05:00
parent f232d6ece3
commit 8da94770f0

View File

@ -469,7 +469,6 @@ int main(int argc, char *argv[])
EXIT(1);
}
basedomain = argv[1];
basedomain++; /* Force a use! */
CAfile = argv[2];
tlsafile = argv[3];
@ -507,7 +506,7 @@ int main(int argc, char *argv[])
goto end;
}
if (test_tlsafile(ctx, argv[1], f, tlsafile) <= 0) {
if (test_tlsafile(ctx, basedomain, f, tlsafile) <= 0) {
print_errors();
goto end;
}