diff options
Diffstat (limited to 'crypto/heimdal/lib')
-rw-r--r-- | crypto/heimdal/lib/des/rc4_enc.c | 5 | ||||
-rw-r--r-- | crypto/heimdal/lib/des/rc4_skey.c | 5 | ||||
-rw-r--r-- | crypto/heimdal/lib/hdb/hdb_locl.h | 3 | ||||
-rw-r--r-- | crypto/heimdal/lib/krb5/crypto.c | 7 | ||||
-rw-r--r-- | crypto/heimdal/lib/krb5/krb5_locl.h | 3 |
5 files changed, 14 insertions, 9 deletions
diff --git a/crypto/heimdal/lib/des/rc4_enc.c b/crypto/heimdal/lib/des/rc4_enc.c index 6b1686f..7e02f85 100644 --- a/crypto/heimdal/lib/des/rc4_enc.c +++ b/crypto/heimdal/lib/des/rc4_enc.c @@ -56,10 +56,11 @@ * [including the GNU Public Licence.] */ -#include "des_locl.h" +/* #include "des_locl.h" */ #include "rc4.h" -RCSID("$Id: rc4_enc.c,v 1.2 1999/10/21 12:58:43 joda Exp $"); +/* RCSID("$Id: rc4_enc.c,v 1.2 1999/10/21 12:58:43 joda Exp $"); */ +/* RCSID("$FreeBSD$"); */ /* RC4 as implemented from a posting from * Newsgroups: sci.crypt diff --git a/crypto/heimdal/lib/des/rc4_skey.c b/crypto/heimdal/lib/des/rc4_skey.c index f5bce46..ec9e9da 100644 --- a/crypto/heimdal/lib/des/rc4_skey.c +++ b/crypto/heimdal/lib/des/rc4_skey.c @@ -56,10 +56,11 @@ * [including the GNU Public Licence.] */ -#include "des_locl.h" +/* #include "des_locl.h" */ #include "rc4.h" -RCSID("$Id: rc4_skey.c,v 1.2 1999/10/21 12:58:52 joda Exp $"); +/* RCSID("$Id: rc4_skey.c,v 1.2 1999/10/21 12:58:52 joda Exp $"); */ +/* RCSID("$FreeBSD$"); */ /* RC4 as implemented from a posting from * Newsgroups: sci.crypt diff --git a/crypto/heimdal/lib/hdb/hdb_locl.h b/crypto/heimdal/lib/hdb/hdb_locl.h index 5d0a6d0..2ce6be7 100644 --- a/crypto/heimdal/lib/hdb/hdb_locl.h +++ b/crypto/heimdal/lib/hdb/hdb_locl.h @@ -32,6 +32,7 @@ */ /* $Id: hdb_locl.h,v 1.13 2000/02/06 05:17:05 assar Exp $ */ +/* $FreeBSD$ */ #ifndef __HDB_LOCL_H__ #define __HDB_LOCL_H__ @@ -56,7 +57,7 @@ #endif #include <roken.h> -#include <des.h> +#include <openssl/des.h> #include <krb5.h> #include <hdb.h> #include <hdb-private.h> diff --git a/crypto/heimdal/lib/krb5/crypto.c b/crypto/heimdal/lib/krb5/crypto.c index aef45b1..08ebdba 100644 --- a/crypto/heimdal/lib/krb5/crypto.c +++ b/crypto/heimdal/lib/krb5/crypto.c @@ -33,6 +33,7 @@ #include "krb5_locl.h" RCSID("$Id: crypto.c,v 1.29 2000/01/25 23:06:55 assar Exp $"); +/* RCSID("$FreeBSD$"); */ #undef CRYPTO_DEBUG #ifdef CRYPTO_DEBUG @@ -1010,9 +1011,9 @@ SHA1_checksum(krb5_context context, { SHA1_CTX m; - SHA1Init(&m); - SHA1Update(&m, data, len); - SHA1Final(C->checksum.data, &m); + SHA_Init(&m); + SHA_Update(&m, data, len); + SHA_Final(C->checksum.data, &m); } /* HMAC according to RFC2104 */ diff --git a/crypto/heimdal/lib/krb5/krb5_locl.h b/crypto/heimdal/lib/krb5/krb5_locl.h index b7093b1..6a4c7fd 100644 --- a/crypto/heimdal/lib/krb5/krb5_locl.h +++ b/crypto/heimdal/lib/krb5/krb5_locl.h @@ -32,6 +32,7 @@ */ /* $Id: krb5_locl.h,v 1.63 1999/12/02 17:05:11 joda Exp $ */ +/* $FreeBSD$ */ #ifndef __KRB5_LOCL_H__ #define __KRB5_LOCL_H__ @@ -109,7 +110,7 @@ struct sockaddr_dl; #include <parse_time.h> #include <base64.h> -#include <des.h> +#include <openssl/des.h> #include <md4.h> #include <md5.h> #include <sha.h> |