Browse Source

Hide __des_crypt/__md5_crypt

Peter S. Mazinger 18 years ago
parent
commit
67e320f220
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libcrypt/des.c
  2. 1 1
      libcrypt/md5.c

+ 1 - 1
libcrypt/des.c

@@ -638,7 +638,7 @@ encrypt(char *block, int flag)
 			block[(i << 5) | j] = (io[i] & bits32[j]) ? 1 : 0;
 }
 
-char *
+char attribute_hidden *
 __des_crypt(const char *key, const char *setting)
 {
 	u_int32_t	count, salt, l, r0, r1, keybuf[2];

+ 1 - 1
libcrypt/md5.c

@@ -531,7 +531,7 @@ static void __md5_to64( char *s, unsigned long v, int n)
  * Use MD5 for what it is best at...
  */
 
-extern char * __md5_crypt( const char *pw, const char *salt)
+extern char attribute_hidden * __md5_crypt( const char *pw, const char *salt)
 {
 	/* Static stuff */
 	static const char *sp, *ep;