Skip to content

Commit

Permalink
beautify some strings
Browse files Browse the repository at this point in the history
[skip-ci]
  • Loading branch information
sjaeckel committed Sep 20, 2017
1 parent 632d2b7 commit a9d9466
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/misc/crypt/crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const char *crypt_build_settings =
#else
"disabled\n"
#endif
"Ciphers built-in:\n"
"\nCiphers built-in:\n"
#if defined(LTC_BLOWFISH)
" Blowfish\n"
#endif
Expand Down
10 changes: 5 additions & 5 deletions tests/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,17 +301,17 @@ int main(int argc, char **argv)
long delta, dur, real = 0;
register_algs();

printf("build == %s\n%s\n", GIT_VERSION, crypt_build_settings);
printf("LTC_VERSION = %s\n%s\n\n", GIT_VERSION, crypt_build_settings);

#ifdef USE_LTM
ltc_mp = ltm_desc;
printf("math provider = libtommath\n");
printf("MP_PROVIDER = LibTomMath\n");
#elif defined(USE_TFM)
ltc_mp = tfm_desc;
printf("math provider = tomsfastmath\n");
printf("MP_PROVIDER = TomsFastMath\n");
#elif defined(USE_GMP)
ltc_mp = gmp_desc;
printf("math provider = gnump\n");
printf("MP_PROVIDER = GnuMP\n");
#elif defined(EXT_MATH_LIB)
{
extern ltc_math_descriptor EXT_MATH_LIB;
Expand All @@ -320,7 +320,7 @@ int main(int argc, char **argv)

#define NAME_VALUE(s) #s"="NAME(s)
#define NAME(s) #s
printf("math provider = %s\n", NAME_VALUE(EXT_MATH_LIB));
printf("MP_PROVIDER = %s\n", NAME_VALUE(EXT_MATH_LIB));
#undef NAME_VALUE
#undef NAME

Expand Down

0 comments on commit a9d9466

Please sign in to comment.