summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/krb5
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 13:37:41 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 13:37:41 +0000
commitbe16c6202adb7544b9017594a51ceb85b3b65692 (patch)
tree99cb1c3b0b3ade65c05b2c6db8b2125733370631 /crypto/heimdal/lib/krb5
parent4d2ec46519fa9f998505f49c57de1b1b3186ee6d (diff)
downloadFreeBSD-src-be16c6202adb7544b9017594a51ceb85b3b65692.zip
FreeBSD-src-be16c6202adb7544b9017594a51ceb85b3b65692.tar.gz
Merge conflicts.
Diffstat (limited to 'crypto/heimdal/lib/krb5')
-rw-r--r--crypto/heimdal/lib/krb5/crypto.c7
-rw-r--r--crypto/heimdal/lib/krb5/krb5_locl.h3
2 files changed, 6 insertions, 4 deletions
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>
OpenPOWER on IntegriCloud