summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV/server/kerberos.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-01-28 20:18:26 +0000
committernectar <nectar@FreeBSD.org>2003-01-28 20:18:26 +0000
commit4bcab33bf9923ac339d55fb33c1251f376deb832 (patch)
tree4d1634ad8972743fd5a93b67a959e2c51edfad01 /crypto/kerberosIV/server/kerberos.c
parentae6dbfd8a752d059b5f1e3c66f6c42c003e4346b (diff)
downloadFreeBSD-src-4bcab33bf9923ac339d55fb33c1251f376deb832.zip
FreeBSD-src-4bcab33bf9923ac339d55fb33c1251f376deb832.tar.gz
Make the Kerberos 4 bits build against OpenSSL 0.9.7. This required
two basic changes (both of which should be no-ops until OpenSSL 0.9.7 is imported): = Define OPENSSL_DES_LIBDES_COMPATIBILITY wherever we include openssl/des.h. = Spell `struct des_ks_struct []' using the existing `des_key_schedule' typedef. When OpenSSL 0.9.7 is imported, `des_key_schedule' (among other things) will be a macro invocation instead of a typedef, and things should `just work'. Yes, this commit does take several files off the vendor branch. I do not expect there to be future imports of KTH Kerberos 4.
Diffstat (limited to 'crypto/kerberosIV/server/kerberos.c')
-rw-r--r--crypto/kerberosIV/server/kerberos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/kerberosIV/server/kerberos.c b/crypto/kerberosIV/server/kerberos.c
index 09a65df..9e0d9b3 100644
--- a/crypto/kerberosIV/server/kerberos.c
+++ b/crypto/kerberosIV/server/kerberos.c
@@ -80,6 +80,7 @@ RCSID("$Id: kerberos.c,v 1.87.2.3 2000/10/18 20:24:13 assar Exp $");
#include <roken.h>
#include <base64.h>
+#define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/des.h>
#include <krb.h>
#include <krb_db.h>
OpenPOWER on IntegriCloud