From 67e320f2201b518732cc46b59ff4f5b0b79c8aec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 21 Nov 2005 20:03:20 +0000 Subject: Hide __des_crypt/__md5_crypt --- libcrypt/des.c | 2 +- libcrypt/md5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/des.c b/libcrypt/des.c index 3b49a7af6..5966da0b9 100644 --- a/libcrypt/des.c +++ b/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]; diff --git a/libcrypt/md5.c b/libcrypt/md5.c index 27ee2a802..7d852b7b2 100644 --- a/libcrypt/md5.c +++ b/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; -- cgit v1.2.3