[hackers] [9base] applied Alexander Clouter's 9base sha1sum patch || Anselm R Garbe

From: <git_AT_suckless.org>
Date: Thu, 16 Jun 2016 10:03:46 +0200 (CEST)

commit 7a0d18922b67c0e21c415e0865a1cfdb0646f020
Author: Anselm R Garbe <garbeam_AT_gmail.com>
AuthorDate: Thu Jun 16 10:02:58 2016 +0200
Commit: Anselm R Garbe <garbeam_AT_gmail.com>
CommitDate: Thu Jun 16 10:02:58 2016 +0200

    applied Alexander Clouter's 9base sha1sum patch

diff --git a/sha1sum/sha1sum.c b/sha1sum/sha1sum.c
index d8c449f..3ebf850 100644
--- a/sha1sum/sha1sum.c
+++ b/sha1sum/sha1sum.c
_AT_@ -12,7 +12,7 @@ digestfmt(Fmt *fmt)
 
         p = va_arg(fmt->args, uchar*);
         for(i=0; i<SHA1dlen; i++)
- sprint(buf+2*i, "%.2ux", p[i]);
+ sprint(buf+2*i, "%.2x", p[i]);
         return fmtstrcpy(fmt, buf);
 }
 
Received on Thu Jun 16 2016 - 10:03:46 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 16 2016 - 10:12:14 CEST