Skip to content

Commit cee9569

Browse files
committed
annotate some and fix un-aligned #endif
This fixes #572 Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 673f5ce commit cee9569

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/headers/tomcrypt_custom.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
#define LTC_NO_MISC
116116
#define LTC_BASE64
117-
#endif
117+
#endif /* LTC_EASY */
118118

119119
/* The minimal set of functionality to run the tests */
120120
#ifdef LTC_MINIMAL
@@ -129,7 +129,7 @@
129129
#define LTC_TRY_URANDOM_FIRST
130130

131131
#undef LTC_NO_FILE
132-
#endif
132+
#endif /* LTC_MINIMAL */
133133

134134
/* Enable self-test test vector checking */
135135
#ifndef LTC_NO_TEST
@@ -357,7 +357,7 @@
357357
#define LTC_YARROW_AES 2
358358
#endif
359359

360-
#endif
360+
#endif /* LTC_YARROW */
361361

362362
#ifdef LTC_FORTUNA
363363

@@ -553,7 +553,7 @@
553553
#define LTC_ECC_SECP384R1
554554
#define LTC_ECC_SECP521R1
555555
#endif
556-
#endif
556+
#endif /* LTC_MECC */
557557

558558
#if defined(LTC_DER)
559559
#ifndef LTC_DER_MAX_RECURSION
@@ -690,15 +690,13 @@
690690
#define LTC_MUTEX_UNLOCK(x)
691691
#define LTC_MUTEX_DESTROY(x)
692692

693-
#endif
693+
#endif /* LTC_PTHREAD */
694694

695695
/* Debuggers */
696696

697697
/* define this if you use Valgrind, note: it CHANGES the way SOBER-128 and RC4 work (see the code) */
698698
/* #define LTC_VALGRIND */
699699

700-
#endif
701-
702700
#ifndef LTC_NO_FILE
703701
/* buffer size for reading from a file via fread(..) */
704702
#ifndef LTC_FILE_READ_BUFSIZE
@@ -739,3 +737,5 @@
739737
#define LTC_ECC_SECP521R1
740738
#undef LTC_ECC521
741739
#endif
740+
741+
#endif /* TOMCRYPT_CUSTOM_H_ */

0 commit comments

Comments
 (0)