aboutsummaryrefslogtreecommitdiff
path: root/crypto/heimdal/lib/krb5
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-02-24 13:37:41 +0000
committerMark Murray <markm@FreeBSD.org>2000-02-24 13:37:41 +0000
commit8ceb13ade4a53b8ec0318890f69ac8356ca6f62b (patch)
tree48dc3c4ba93edf2cd9fac27bba0294ff968b1d1a /crypto/heimdal/lib/krb5
parentc97e282188767b63665a17ef9538276c9fb5881b (diff)
Notes
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 aef45b1c869bf..08ebdba65fa67 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 b7093b1b14d04..6a4c7fd0dfdb1 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>