From 8906ee95fdb45f6dbdfdc743acca569969db2e51 Mon Sep 17 00:00:00 2001 From: Kareem Date: Fri, 7 Jul 2023 10:31:18 -0700 Subject: [PATCH] Hitch code review feedback. --- .github/workflows/hitch.yml | 5 ++--- wolfssl/internal.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hitch.yml b/.github/workflows/hitch.yml index 721522ff88..c790ba3c09 100644 --- a/.github/workflows/hitch.yml +++ b/.github/workflows/hitch.yml @@ -64,7 +64,7 @@ jobs: # Do this before configuring so that it only detects the updated list of # tests - if: ${{ matrix.ignore-tests }} - name: Remove tests that we want to ignore (13, 15, 39) + name: Remove tests that we want to ignore working-directory: ./hitch/src/tests run: | rm ${{ matrix.ignore-tests }} @@ -83,8 +83,7 @@ jobs: export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build-dir/lib:$LD_LIBRARY_PATH ldd src/hitch | grep wolfssl - # Note: Exit status 77 means a test was skipped, this is valid and expected. - - name: Run hitch tests, skipping 13, 15 and 39 + - name: Run hitch tests, skipping ignored tests working-directory: ./hitch run: | export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build-dir/lib:$LD_LIBRARY_PATH diff --git a/wolfssl/internal.h b/wolfssl/internal.h index b61a03e40c..436344ca1a 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -5810,7 +5810,7 @@ struct WOLFSSL { #define SSL_STORE(ssl) ((ssl)->x509_store_pt ? (ssl)->x509_store_pt : \ ((ssl)->ctx->x509_store_pt ? (ssl)->ctx->x509_store_pt : \ &(ssl)->ctx->x509_store)) -#define CTX_STORE(ssl) ((ctx)->x509_store_pt ? (ctx)->x509_store_pt : \ +#define CTX_STORE(ctx) ((ctx)->x509_store_pt ? (ctx)->x509_store_pt : \ &(ctx)->x509_store) #else #define SSL_CM(ssl) (ssl)->ctx->cm