diff options
author | Sven Roederer <devel-sven@geroedel.de> | 2021-08-19 17:39:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 23:39:31 +0800 |
commit | 4c8c879b387991eea22fa1e27b501d34420754c2 (patch) | |
tree | 7542a62e5c1cc7afd7a24a15570b60a8e44537d9 /signkey.c | |
parent | 210a9833496ed2a93b8da93924874938127ce0b5 (diff) |
signkey: remove !! from SHA1 digest (#130)
Remove the "!!" chars from message when printing the key-fingerprint, as it's
confusing users. They have been added when switching from MD5, but SHA1 can be
considered as standard today.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Diffstat (limited to 'signkey.c')
-rw-r--r-- | signkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -568,7 +568,7 @@ static char * sign_key_sha1_fingerprint(const unsigned char* keyblob, buflen = 7 + 3*SHA1_HASH_SIZE; ret = (char*)m_malloc(buflen); - strcpy(ret, "sha1!! "); + strcpy(ret, "sha1 "); for (i = 0; i < SHA1_HASH_SIZE; i++) { unsigned int pos = 7 + 3*i; |