diff options
author | Simo Sorce <simo@redhat.com> | 2015-03-19 19:22:04 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-03-19 19:22:04 -0400 |
commit | 8c664f7e8523e8fb8136c1912d9f86b901558155 (patch) | |
tree | 8d609d9438f22ade98ef5b49a9e3dd202c052072 /tests/ntlmssptest.c | |
parent | 4844f1e77523664298e601df3a0fb33e5cb28e31 (diff) | |
download | gss-ntlmssp-8c664f7e8523e8fb8136c1912d9f86b901558155.tar.gz gss-ntlmssp-8c664f7e8523e8fb8136c1912d9f86b901558155.tar.xz gss-ntlmssp-8c664f7e8523e8fb8136c1912d9f86b901558155.zip |
Fix error reporting in some tests
Diffstat (limited to 'tests/ntlmssptest.c')
-rw-r--r-- | tests/ntlmssptest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ntlmssptest.c b/tests/ntlmssptest.c index e549c3b..ad90c12 100644 --- a/tests/ntlmssptest.c +++ b/tests/ntlmssptest.c @@ -1262,6 +1262,7 @@ int test_DecodeAuthenticateMessageV2CBT(struct ntlm_ctx *ctx) T_NTLMv2_CBT.ServerChallenge); if (ret) { fprintf(stderr, "NTLMv2 Verification failed!\n"); + goto done; } ret = ntlm_decode_target_info(ctx, &target_info, @@ -1269,7 +1270,8 @@ int test_DecodeAuthenticateMessageV2CBT(struct ntlm_ctx *ctx) NULL, NULL, NULL, NULL, NULL, &cb); if (ret) { - fprintf(stderr, "NTLMv2 ifailed to decode target info!\n"); + fprintf(stderr, "NTLMv2 failed to decode target info!\n"); + goto done; } err = test_difference("CBTs", |