Browse Source

continue looping on NOP

Signed-off-by: Steffen Jaeckel <[email protected]>
Steffen Jaeckel 3 years ago
parent
commit
8899c81601
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/common.c

+ 2 - 1
tests/common.c

@@ -120,7 +120,7 @@ int test_process_dir(const char *path, void *ctx, dir_iter_cb process, dir_clean
 #if defined(LTC_TEST_DBG) && LTC_TEST_DBG > 1
          fprintf(stderr, "%s: Skip: %s\n", test, fname);
 #endif
-         break;
+         goto continue_loop;
       } else if (err != CRYPT_OK) {
 #if defined(LTC_TEST_DBG)
          fprintf(stderr, "%s: Test %s failed (cause: %s).\n\n", test, fname, error_to_string(err));
@@ -133,6 +133,7 @@ int test_process_dir(const char *path, void *ctx, dir_iter_cb process, dir_clean
          cleanup(ctx);
       }
 
+continue_loop:
       XFREE(buf);
       buf = NULL;
       fclose(f);