glibc-2.3.6-crypt.diff 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --- glibc-2.3.6.orig/crypt/Makefile 2001-07-06 04:54:45 +0000
  2. +++ glibc-2.3.6/crypt/Makefile 2004-02-27 00:23:48 +0000
  3. @@ -21,14 +21,14 @@
  4. #
  5. subdir := crypt
  6. -headers := crypt.h
  7. +headers := crypt.h gnu-crypt.h ow-crypt.h
  8. distribute := md5.h
  9. extra-libs := libcrypt
  10. extra-libs-others := $(extra-libs)
  11. -libcrypt-routines := crypt-entry md5-crypt md5 crypt crypt_util
  12. +libcrypt-routines := crypt-entry md5-crypt md5 crypt crypt_util crypt_blowfish x86 crypt_gensalt wrapper
  13. tests = cert md5test md5c-test
  14. --- glibc-2.3.6.orig/crypt/Versions 2000-03-04 00:47:30 +0000
  15. +++ glibc-2.3.6/crypt/Versions 2004-02-27 00:25:15 +0000
  16. @@ -1,5 +1,6 @@
  17. libcrypt {
  18. GLIBC_2.0 {
  19. crypt; crypt_r; encrypt; encrypt_r; fcrypt; setkey; setkey_r;
  20. + crypt_rn; crypt_ra; crypt_gensalt; crypt_gensalt_rn; crypt_gensalt_ra;
  21. }
  22. }
  23. --- glibc-2.3.6.orig/crypt/crypt-entry.c 2001-07-06 05:18:49 +0000
  24. +++ glibc-2.3.6/crypt/crypt-entry.c 2004-02-27 00:12:32 +0000
  25. @@ -70,7 +70,7 @@ extern struct crypt_data _ufc_foobar;
  26. */
  27. char *
  28. -__crypt_r (key, salt, data)
  29. +__des_crypt_r (key, salt, data)
  30. const char *key;
  31. const char *salt;
  32. struct crypt_data * __restrict data;
  33. @@ -115,6 +115,7 @@ __crypt_r (key, salt, data)
  34. _ufc_output_conversion_r (res[0], res[1], salt, data);
  35. return data->crypt_3_buf;
  36. }
  37. +#if 0
  38. weak_alias (__crypt_r, crypt_r)
  39. char *
  40. @@ -147,3 +148,4 @@ __fcrypt (key, salt)
  41. return crypt (key, salt);
  42. }
  43. #endif
  44. +#endif