diff options
author | stas <stas@FreeBSD.org> | 2012-04-08 08:19:17 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2012-04-08 08:19:17 +0000 |
commit | e98d05b4f007c4c6849229bc6c5f1586d0207896 (patch) | |
tree | b776209adefb14f82be8f607e6cc465dfddd90c3 /crypto/heimdal/lib/krb5/crypto.c | |
parent | 614fd4fe5e7e76da2328df84ca390b36dad17e79 (diff) | |
download | FreeBSD-src-e98d05b4f007c4c6849229bc6c5f1586d0207896.zip FreeBSD-src-e98d05b4f007c4c6849229bc6c5f1586d0207896.tar.gz |
- Update FreeBSD's Heimdal distribution to 1.5.2. This is a bugfix
release, which fixes a DoS issue in libkrb5.
Diffstat (limited to 'crypto/heimdal/lib/krb5/crypto.c')
-rw-r--r-- | crypto/heimdal/lib/krb5/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/lib/krb5/crypto.c b/crypto/heimdal/lib/krb5/crypto.c index 4b66035..67ecef6 100644 --- a/crypto/heimdal/lib/krb5/crypto.c +++ b/crypto/heimdal/lib/krb5/crypto.c @@ -467,7 +467,7 @@ verify_checksum(krb5_context context, return KRB5_PROG_SUMTYPE_NOSUPP; /* XXX */ } kct = crypto->et->keyed_checksum; - if (kct != NULL && kct->type != ct->type) { + if (kct == NULL || kct->type != ct->type) { krb5_set_error_message(context, KRB5_PROG_SUMTYPE_NOSUPP, N_("Checksum type %s is keyed, but " "the key type %s passed didnt have that checksum " |