Skip to content

Commit 7967b2a

Browse files
committed
Suppress deprecated warnings for now
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 971d1ac commit 7967b2a

File tree

11 files changed

+10
-1
lines changed

11 files changed

+10
-1
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
- { BUILDNAME: 'NO_FAST', BUILDOPTIONS: '-DLTC_NO_FAST', BUILDSCRIPT: '.ci/run.sh' }
5353
- { BUILDNAME: 'NO_FAST+SMALL+NO_TABLES', BUILDOPTIONS: '-DLTC_NO_FAST -DLTC_SMALL_CODE -DLTC_NO_TABLES', BUILDSCRIPT: '.ci/run.sh' }
5454
- { BUILDNAME: 'NO_ASM', BUILDOPTIONS: '-DLTC_NO_ASM', BUILDSCRIPT: '.ci/run.sh' }
55-
- { BUILDNAME: 'NO_DEPRECATED_APIS', BUILDOPTIONS: '-DLTC_NO_DEPRECATED_APIS', BUILDSCRIPT: '.ci/run.sh' }
5655
- { BUILDNAME: 'NO_TIMING_RESISTANCE', BUILDOPTIONS: '-DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING', BUILDSCRIPT: '.ci/run.sh' }
5756
- { BUILDNAME: 'FORTUNA_CUSTOM_OPTIONS', BUILDOPTIONS: '-DLTC_FORTUNA_USE_ENCRYPT_ONLY -DLTC_FORTUNA_RESEED_RATELIMIT_STATIC', BUILDSCRIPT: '.ci/run.sh' }
5857
- { BUILDNAME: 'PTHREAD', BUILDOPTIONS: '-DLTC_PTHREAD', BUILDSCRIPT: '.ci/run.sh' }

demos/timing.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
#if defined(_WIN32)

makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ pre_gen/tomcrypt_amalgam.c: $(TAB_SOURCES) $(SOURCES)
154154
printf "#define LTC_SAFER_TAB_C\n" >> $@
155155
printf "#define LTC_SOBER128TAB_C\n" >> $@
156156
printf "#define LTC_WHIRLTAB_C\n\n" >> $@
157+
printf "#define LTC_DEPRECATED(x)\n\n" >> $@
157158
printf "#include \"tomcrypt_private.h\"\n\n" >> $@
158159
cat $^ >> $@
159160

src/pk/pkcs1/pkcs_1_oaep_decode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/pkcs1/pkcs_1_oaep_encode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/pkcs1/pkcs_1_pss_decode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/pkcs1/pkcs_1_pss_encode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/rsa/rsa_decrypt_key.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/rsa/rsa_encrypt_key.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

src/pk/rsa/rsa_sign_hash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
22
/* SPDX-License-Identifier: Unlicense */
3+
#define LTC_DEPRECATED(x)
34
#include "tomcrypt_private.h"
45

56
/**

0 commit comments

Comments
 (0)