File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,25 +61,25 @@ void does_not_exist(void);
6161
6262static int test_feature_detection (void )
6363{
64- #define BN_TEST_FEATURE1_C
64+ #define TEST_FEATURE1_C
6565 if (!MP_HAS (TEST_FEATURE1 )) {
6666 does_not_exist ();
6767 return EXIT_FAILURE ;
6868 }
6969
70- #define BN_TEST_FEATURE2_C 1
70+ #define TEST_FEATURE2_C 1
7171 if (MP_HAS (TEST_FEATURE2 )) {
7272 does_not_exist ();
7373 return EXIT_FAILURE ;
7474 }
7575
76- #define BN_TEST_FEATURE3_C 0
76+ #define TEST_FEATURE3_C 0
7777 if (MP_HAS (TEST_FEATURE3 )) {
7878 does_not_exist ();
7979 return EXIT_FAILURE ;
8080 }
8181
82- #define BN_TEST_FEATURE4_C something
82+ #define TEST_FEATURE4_C something
8383 if (MP_HAS (TEST_FEATURE4 )) {
8484 does_not_exist ();
8585 return EXIT_FAILURE ;
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ extern void MP_FREE(void *mem, size_t size);
143143/* feature detection macro */
144144#define MP_STRINGIZE (x ) MP__STRINGIZE(x)
145145#define MP__STRINGIZE (x ) ""#x""
146- #define MP_HAS (x ) (sizeof(MP_STRINGIZE(BN_## x##_C)) == 1)
146+ #define MP_HAS (x ) (sizeof(MP_STRINGIZE(x##_C)) == 1)
147147
148148/* TODO: Remove private_mp_word as soon as deprecated mp_word is removed from tommath. */
149149#undef mp_word
You can’t perform that action at this time.
0 commit comments