fix an oversight in wolfSentry integration in examples/{client,server}.

This commit is contained in:
Daniel Pouzzner
2023-01-05 17:59:10 -06:00
parent 10c324e9ad
commit 0b0b980784
3 changed files with 3 additions and 2 deletions

View File

@@ -3715,7 +3715,7 @@ exit:
#ifdef WOLFSSL_WOLFSENTRY_HOOKS
wolfsentry_ret =
wolfsentry_shutdown(WOLFSENTRY_CONTEXT_ARGS_OUT_EX(&wolfsentry));
wolfsentry_shutdown(WOLFSENTRY_CONTEXT_ARGS_OUT_EX4(&wolfsentry, NULL));
if (wolfsentry_ret < 0) {
fprintf(stderr,
"wolfsentry_shutdown() returned " WOLFSENTRY_ERROR_FMT "\n",