diff options
author | Keith Vetter <keithv@fusion.com> | 1995-03-04 04:14:07 +0000 |
---|---|---|
committer | Keith Vetter <keithv@fusion.com> | 1995-03-04 04:14:07 +0000 |
commit | 44aaa95295259354b16f32359e0e26579bb9effe (patch) | |
tree | f3e5312f42cd3179a8ccf3500e2dab4eabf43e4b /src/lib/crypto/md4 | |
parent | 5cfb1cc45adde6bca4a5a9d264c29b1b938a4aad (diff) | |
download | krb5-44aaa95295259354b16f32359e0e26579bb9effe.tar.gz krb5-44aaa95295259354b16f32359e0e26579bb9effe.tar.xz krb5-44aaa95295259354b16f32359e0e26579bb9effe.zip |
Finished off changed needed for making libcrypto.dll. Biggest change
is that you can't pull in data from a DLL so had to add three routines
that return the address of various data structures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5074 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/md4')
-rw-r--r-- | src/lib/crypto/md4/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/crypto/md4/md4crypto.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/crypto/md4/ChangeLog b/src/lib/crypto/md4/ChangeLog index dca4ef84f7..095530c737 100644 --- a/src/lib/crypto/md4/ChangeLog +++ b/src/lib/crypto/md4/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 3 19:01:59 1995 Keith Vetter (keithv@fusion.com) + + * md4crypto.c: added a method to pull in a data structure + from outside a dll. + Thu Mar 2 17:53:35 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: changed LIBNAME for the PC diff --git a/src/lib/crypto/md4/md4crypto.c b/src/lib/crypto/md4/md4crypto.c index 38a3a4a3b4..ecc524203b 100644 --- a/src/lib/crypto/md4/md4crypto.c +++ b/src/lib/crypto/md4/md4crypto.c @@ -87,3 +87,15 @@ krb5_checksum_entry rsa_md4_des_cksumtable_entry = { 1, /* is collision proof */ 1, /* uses key */ }; + +#if defined(_WINDOWS) +/* +** Windows can't pull in data from a DLL library. So we must provide a +** method to do so. If the crypto library is merged in with the other +** libraries, and this never gets called by an end-user, then we +** can get rid of this. +*/ +krb5_checksum_entry * INTERFACE load_rsa_md4_des_cksumtable_entry (void) { + return &rsa_md4_des_cksumtable_entry; +} +#endif |