Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

krb5_calculate_checksum() and krb5_verify_checksum(), both deprecated,
construct invalid keyblocks and pass them to the real functions, which
used to work but now doesn't. Try harder to construct valid keyblocks
or pass NULL if there's no key.

https://github.com/krb5/krb5/commit/9e1e72a26c692717c87e55675cfaa69f3979e5c6
Commit By: ghudson
Revision: 25059
Changed Files:
U trunk/src/lib/crypto/krb/old_api_glue.c
This patch won't apply against 1.9. If I haven't prepared a backport by
the time 1.9.2 rolls around, it may be best to skip this one.
The backport to 1.9 is more trivial than I realized. The patch should
apply as is, and then you just need to add to the includes section at the
top:

#include "cksumtypes.h"
#include "etypes.h"
From: tlyu@mit.edu
Subject: SVN Commit

pull up r25059 from trunk

------------------------------------------------------------------------
r25059 | ghudson | 2011-07-26 17:57:20 -0400 (Tue, 26 Jul 2011) | 10 lines

ticket: 6939
subject: Legacy checksum APIs usually fail
target_version: 1.9.2
tags: pullup

krb5_calculate_checksum() and krb5_verify_checksum(), both deprecated,
construct invalid keyblocks and pass them to the real functions, which
used to work but now doesn't. Try harder to construct valid keyblocks
or pass NULL if there's no key.

https://github.com/krb5/krb5/commit/ea623363f2e8c181271a6ad6880f2e0e4021bc5e
Commit By: tlyu
Revision: 25390
Changed Files:
U branches/krb5-1-9/src/lib/crypto/krb/old_api_glue.c