Skip to content

Commit

Permalink
Merge pull request #477 from JacobBarthelmeh/sftp
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohnstown authored Dec 19, 2022
2 parents bdf1713 + 3e64f13 commit c40f779
Show file tree
Hide file tree
Showing 6 changed files with 494 additions and 75 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ AS_IF([test "x$ax_enable_debug" = "xyes"],
AM_CPPFLAGS="-DNDEBUG $AM_CPPFLAGS"])

AX_PTHREAD([
AC_DEFINE([HAVE_PTHREAD], [1], [Define if you have POSIX threads libraries and header files.])
# If AX_PTHREAD is adding -Qunused-arguments, need to prepend with
# -Xcompiler libtool will use it. Newer versions of clang don't need
# the -Q flag when using pthreads.
Expand Down
3 changes: 3 additions & 0 deletions examples/client/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ static int wsPublicKeyCheck(const byte* pubKey, word32 pubKeySz, void* ctx)
FreeDecodedCert(&dCert);
}
}
#else
printf("wolfSSL not built with OPENSSL_ALL or WOLFSSL_IP_ALT_NAME\n");
printf("\tnot checking IP address from peer's cert\n");
#endif
#endif

Expand Down
Loading

0 comments on commit c40f779

Please sign in to comment.