diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
commit | 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (patch) | |
tree | 614372cf2510ad45311ecea088012683635d0b76 /sha1.c | |
parent | ee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (diff) |
Import Upstream version 0.5c
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]; |