]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Make MD5_Core_Init and MD5_Block (both only referenced in this file) static.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 15:29:22 +0000 (15:29 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 15:29:22 +0000 (15:29 +0000)
[originally from svn r2469]

sshmd5.c

index 05867408641f659af0ca4d69fe7f988f030d9c8d..b4244fe29af269753da8c75cfca2183ffad7c70e 100644 (file)
--- a/sshmd5.c
+++ b/sshmd5.c
@@ -19,7 +19,7 @@
 #define subround(f,w,x,y,z,k,s,ti) \
        w = x + rol(w + f(x,y,z) + block[k] + ti, s)
 
-void MD5_Core_Init(MD5_Core_State * s)
+static void MD5_Core_Init(MD5_Core_State * s)
 {
     s->h[0] = 0x67452301;
     s->h[1] = 0xefcdab89;
@@ -27,7 +27,7 @@ void MD5_Core_Init(MD5_Core_State * s)
     s->h[3] = 0x10325476;
 }
 
-void MD5_Block(MD5_Core_State * s, uint32 * block)
+static void MD5_Block(MD5_Core_State * s, uint32 * block)
 {
     uint32 a, b, c, d;