Browse Source

beautify some strings

[skip-ci]
Steffen Jaeckel 8 years ago
parent
commit
a9d9466694
2 changed files with 6 additions and 6 deletions
  1. 1 1
      src/misc/crypt/crypt.c
  2. 5 5
      tests/test.c

+ 1 - 1
src/misc/crypt/crypt.c

@@ -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

+ 5 - 5
tests/test.c

@@ -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;
@@ -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