This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc 2.0.103


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]