]> mj.ucw.cz Git - libucw.git/blobdiff - lib/md5hex.c
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / lib / md5hex.c
index b9eda391f53833527baa7332e060e1f5ad7ad991..93987b00a13246de55581ded5dd415dae163b10a 100644 (file)
@@ -13,7 +13,7 @@
 #include <stdio.h>
 
 void
-md5_to_hex(byte *s, byte *d)
+md5_to_hex(const byte *s, char *d)
 {
   int i;
   for(i=0; i<MD5_SIZE; i++)
@@ -21,7 +21,7 @@ md5_to_hex(byte *s, byte *d)
 }
 
 void
-hex_to_md5(byte *s, byte *d)
+hex_to_md5(const char *s, byte *d)
 {
   uns i, j;
   for(i=0; i<MD5_SIZE; i++)