Skip to content

Commit a9d9466

Browse files
committed
beautify some strings
[skip-ci]
1 parent 632d2b7 commit a9d9466

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/misc/crypt/crypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const char *crypt_build_settings =
4343
#else
4444
"disabled\n"
4545
#endif
46-
"Ciphers built-in:\n"
46+
"\nCiphers built-in:\n"
4747
#if defined(LTC_BLOWFISH)
4848
" Blowfish\n"
4949
#endif

tests/test.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,17 +301,17 @@ int main(int argc, char **argv)
301301
long delta, dur, real = 0;
302302
register_algs();
303303

304-
printf("build == %s\n%s\n", GIT_VERSION, crypt_build_settings);
304+
printf("LTC_VERSION = %s\n%s\n\n", GIT_VERSION, crypt_build_settings);
305305

306306
#ifdef USE_LTM
307307
ltc_mp = ltm_desc;
308-
printf("math provider = libtommath\n");
308+
printf("MP_PROVIDER = LibTomMath\n");
309309
#elif defined(USE_TFM)
310310
ltc_mp = tfm_desc;
311-
printf("math provider = tomsfastmath\n");
311+
printf("MP_PROVIDER = TomsFastMath\n");
312312
#elif defined(USE_GMP)
313313
ltc_mp = gmp_desc;
314-
printf("math provider = gnump\n");
314+
printf("MP_PROVIDER = GnuMP\n");
315315
#elif defined(EXT_MATH_LIB)
316316
{
317317
extern ltc_math_descriptor EXT_MATH_LIB;
@@ -320,7 +320,7 @@ int main(int argc, char **argv)
320320

321321
#define NAME_VALUE(s) #s"="NAME(s)
322322
#define NAME(s) #s
323-
printf("math provider = %s\n", NAME_VALUE(EXT_MATH_LIB));
323+
printf("MP_PROVIDER = %s\n", NAME_VALUE(EXT_MATH_LIB));
324324
#undef NAME_VALUE
325325
#undef NAME
326326

0 commit comments

Comments
 (0)