Skip to content

Commit

Permalink
README.md update and configure issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan garske committed Sep 26, 2024
1 parent d0d410c commit a95796a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/client/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,11 @@ THREAD_RETURN WOLFSSH_THREAD client_test(void* args)
if (keepOpen)
err_sys("Threading needed for terminal session\n");
#endif

#ifndef WOLFSSH_TPM
if ((pubKeyName == NULL && certName == NULL) && privKeyName != NULL) {
err_sys("If setting priv key, need pub key.");
}

#endif
ret = ClientSetPrivateKey(privKeyName, userEcc, NULL);
if (ret != 0) {
err_sys("Error setting private key");
Expand Down

0 comments on commit a95796a

Please sign in to comment.