This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: glibc 2.0.103
- To: libc-hacker@gnu.org
- Subject: Re: glibc 2.0.103
- From: smurf@noris.de (Matthias Urlichs)
- Date: 26 Nov 1998 08:03:41 +0100
- Newsgroups: dist.glibc
- Organization: noris network GmbH, Nuernberg, FRG
- References: <r2ww4pye1g.fsf@happy.cygnus.com> <911617681.7117@noris.de>
- Xref: noris.net dist.glibc:7005
drepper@cygnus.com (Ulrich Drepper) writes:
> glibc-2.0.103.tar.gz
> As usual, let me know about success and failures.
>
I wonder why glibc does not export its MD5 code.
(I don't really know if my Makefile changes are _that_ correct or whether I
really should export _all_ those symbols, but you get the idea.)
BTW, there are at least two other interfaces to MD5 out there, but they can
be mapped with suitable #defines. Should these be added to md5.h too?
1998-11-20 Matthias Urlichs <urlichs@noris.de>
* md5-crypt/Makefile: Install md5 in libc.
* md5-crypt/Makefile: Make md5_* externally visible.
Index: md5-crypt/Makefile
--- base.225/md5-crypt/Makefile Fri, 03 Jul 1998 10:12:58 +0200 smurf (gnu_libc/r/b/47_Makefile 1.4 666)
+++ noris.13(w)/md5-crypt/Makefile Sun, 22 Nov 1998 07:07:11 +0100 smurf (gnu_libc/r/b/47_Makefile 1.4 664)
@@ -21,7 +21,7 @@
#
subdir := md5-crypt
-headers := crypt.h
+headers := crypt.h md5.h
distribute := md5.h
@@ -30,8 +30,9 @@
extra-libs := libcrypt
extra-libs-others := $(extra-libs)
-md5-routines := crypt-entry md5-crypt md5
+md5-routines := crypt-entry md5-crypt
libcrypt-routines := $(md5-routines)
+routines += md5
onlymd5-routines := onlymd5-entry md5-crypt md5
distribute += onlymd5-entry.c
Index: md5-crypt/Versions
--- base.225/md5-crypt/Versions Fri, 03 Jul 1998 10:12:58 +0200 smurf (gnu_libc/j/c/1_Versions 1.1 666)
+++ noris.13(w)/md5-crypt/Versions Sun, 22 Nov 1998 07:19:12 +0100 smurf (gnu_libc/j/c/1_Versions 1.1 664)
@@ -3,3 +3,11 @@
crypt; crypt_r; encrypt; encrypt_r; fcrypt; setkey; setkey_r;
}
}
+
+libc {
+ GLIBC_2.0 {
+ md5_buffer; md5_crypt; md5_crypt_r; md5_finish_ctx; md5_init_ctx;
+ md5_process_block; md5_process_bytes; md5_read_ctx; md5_salt_prefix;
+ md5_stream;
+ }
+}
--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661