diff options
author | Agney Lopes Roth Ferraz <agney@debian.org> | 2009-03-28 22:55:02 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
commit | 1b6665085f47e0a86e4bebd5e313a2ab63600eb4 (patch) | |
tree | 6b7dedc1886b42d07cc48359470fe3f595500cc8 /sha1.c | |
parent | 819c0c3382b06fc0f0a1679465966f811aa2e0f8 (diff) | |
parent | 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (diff) |
Import Debian changes 0.5c-1
hardinfo (0.5c-1) unstable; urgency=low
* New upstream version.
(Closes: #517591, #511237, #457703, #519256, #449250, #457820, #497758)
Diffstat (limited to 'sha1.c')
-rw-r--r-- | sha1.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -231,11 +231,6 @@ void SHA1Final(guchar digest[20], SHA1_CTX * context) #ifdef SHA1_TEST static char *b32_alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; -void g_assert(int a) -{ - /* Bah, who needs testing anyway... ;) */ -} - static void base32_encode_exactly(guchar * buf, gint len, guchar * encbuf, gint enclen) { @@ -313,7 +308,7 @@ int main(int argc, char **argv) } SHA1Final(digest, &context); fclose(file); -/* + for (i = 0; i < 5; i++) { for (j = 0; j < 4; j++) { printf("%02X", digest[i*4+j]); @@ -321,7 +316,6 @@ int main(int argc, char **argv) putchar(' '); } putchar('\n'); -*/ { guchar tmp[33]; |