Skip to content

Commit

Permalink
thirdparty: fix warnings in libtomcrypt and thus compilation with Zig CC
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertzui123 committed Jul 31, 2024
1 parent 9391d99 commit 843266b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions thirdparty/cwsc/thirdparty/libtomcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* guarantee it works.
*
* Tom St Denis, tstdenis82@gmail.com, http://math.libtomcrypt.com
*
* NOTE: This version of libtomcrypt.c has been slightly modified from the upstream CWSC/TLSe version; the modifications only fix/workaround some warnings
*/
#ifndef BN_H_
#define BN_H_
Expand Down Expand Up @@ -12576,8 +12578,7 @@ int KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsub

const char *crypt_build_settings =
"LibTomCrypt ""1.17"" (Tom St Denis, tomstdenis@gmail.com)\n"
"LibTomCrypt is public domain software.\n"
"Built on " __DATE__ " at " __TIME__ "\n\n\n"
"LibTomCrypt is public domain software.\n\n\n"
"Endianess: "
#if defined(ENDIAN_NEUTRAL)
"neutral\n"
Expand Down
5 changes: 3 additions & 2 deletions thirdparty/echttp/thirdparty/libtomcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* guarantee it works.
*
* Tom St Denis, tstdenis82@gmail.com, http://math.libtomcrypt.com
*
* NOTE: This version of libtomcrypt.c has been slightly modified from the upstream ECHTTP/TLSe version; the modifications only fix/workaround some warnings
*/
#ifndef BN_H_
#define BN_H_
Expand Down Expand Up @@ -12576,8 +12578,7 @@ int KARATSUBA_MUL_CUTOFF = 80, /* Min. number of digits before Karatsub

const char *crypt_build_settings =
"LibTomCrypt ""1.17"" (Tom St Denis, tomstdenis@gmail.com)\n"
"LibTomCrypt is public domain software.\n"
"Built on " __DATE__ " at " __TIME__ "\n\n\n"
"LibTomCrypt is public domain software.\n\n\n"
"Endianess: "
#if defined(ENDIAN_NEUTRAL)
"neutral\n"
Expand Down

0 comments on commit 843266b

Please sign in to comment.