Skip to content

Commit

Permalink
Merge pull request #741 from openziti/key-memory-fixes
Browse files Browse the repository at this point in the history
key-memory-fixes
  • Loading branch information
ekoby authored Oct 4, 2024
2 parents 836b06c + f419e47 commit af86109
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (NOT TARGET tlsuv)
else ()
FetchContent_Declare(tlsuv
GIT_REPOSITORY https://github.com/openziti/tlsuv.git
GIT_TAG v0.32.3
GIT_TAG v0.32.4
)
FetchContent_MakeAvailable(tlsuv)
endif (tlsuv_DIR)
Expand Down
4 changes: 2 additions & 2 deletions library/legacy_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ static void refresh_cb(ziti_api_session *session, const ziti_error *err, void *c

switch (err->err) {
case ZITI_AUTHENTICATION_FAILED:
// session expired or was deleted, try to re-auth
auth->cb(auth->ctx, ZitiAuthStateUnauthenticated, (void *)err);
// session expired or was deleted, try to re-auth
auth->cb(auth->ctx, ZitiAuthStateUnauthenticated, err->message);
free_ziti_api_session_ptr(auth->session);
auth->session = NULL;
uv_timer_start(&auth->timer, auth_timer_cb, 0, 0);
Expand Down

0 comments on commit af86109

Please sign in to comment.