diff options
author | Werner Koch <[email protected]> | 2021-11-04 16:26:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-11-04 16:26:26 +0000 |
commit | d9deac7791904634848a4c178585f37205641124 (patch) | |
tree | 9761394403e1be9201685de8cad4d3327076c4f1 | |
parent | gpgconf: New command --show-configs. (diff) | |
download | gnupg-d9deac7791904634848a4c178585f37205641124.tar.gz gnupg-d9deac7791904634848a4c178585f37205641124.zip |
gpg: Fix indentation of --print-mds and --print-md sha512.
* g10/gpg.c (print_hex): Fix indentation.
--
GnuPG-bug-id: 5679
-rw-r--r-- | g10/gpg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5417,7 +5417,7 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname) { if(count+2>79) { - es_printf ("\n%*s",indent," "); + es_printf ("\n%*s",indent,indent?" ":""); count = indent; } else @@ -5432,7 +5432,7 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname) { if(count+4>79) { - es_printf ("\n%*s",indent," "); + es_printf ("\n%*s",indent,indent?" ":""); count=indent; } else @@ -5446,9 +5446,9 @@ print_hex (gcry_md_hd_t md, int algo, const char *fname) { if(!(i%4)) { - if (count+8>79) + if (count+8>=79) { - es_printf ("\n%*s",indent," "); + es_printf ("\n%*s",indent, indent?" ":""); count=indent; } else |