diff options
Diffstat (limited to 'md5-crypt')
-rw-r--r-- | md5-crypt/Makefile | 3 | ||||
-rw-r--r-- | md5-crypt/libcrypt.map | 7 | ||||
-rw-r--r-- | md5-crypt/md5-crypt.c | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/md5-crypt/Makefile b/md5-crypt/Makefile index 84ec20c5a3..aae6e8c216 100644 --- a/md5-crypt/Makefile +++ b/md5-crypt/Makefile @@ -32,9 +32,10 @@ extra-libs-others := $(extra-libs) md5-routines := crypt-entry md5-crypt md5 libcrypt-routines := $(md5-routines) +libcrypt-map := libcrypt.map onlymd5-routines := onlymd5-entry md5-crypt md5 -distribute += onlymd5-entry +distribute += onlymd5-entry.c include ../Makeconfig diff --git a/md5-crypt/libcrypt.map b/md5-crypt/libcrypt.map new file mode 100644 index 0000000000..a3128da2e9 --- /dev/null +++ b/md5-crypt/libcrypt.map @@ -0,0 +1,7 @@ +GLIBC_2.0 { + global: + crypt; crypt_r; encrypt; encrypt_r; fcrypt; setkey; setkey_r; + + local: + *; +}; \ No newline at end of file diff --git a/md5-crypt/md5-crypt.c b/md5-crypt/md5-crypt.c index dd9d413c42..6dd6740671 100644 --- a/md5-crypt/md5-crypt.c +++ b/md5-crypt/md5-crypt.c @@ -41,6 +41,7 @@ extern char *__md5_crypt_r __P ((const char *key, const char *salt, char *buffer, int buflen)); extern char *md5_crypt_r __P ((const char *key, const char *salt, char *buffer, int buflen)); +extern char *__md5_crypt __P ((const char *key, const char *salt)); extern char *md5_crypt __P ((const char *key, const char *salt)); |