git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0343987
)
Don't wipe the PAC checksums, the caller may actually need them.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 28 Aug 2008 06:19:16 +0000
(16:19 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 28 Aug 2008 06:19:16 +0000
(16:19 +1000)
source/heimdal/lib/krb5/pac.c
patch
|
blob
|
history
diff --git
a/source/heimdal/lib/krb5/pac.c
b/source/heimdal/lib/krb5/pac.c
index ac7e3eda9b0ce63c8613d90f43b97b2bf093e9a8..9a145c48e6decff18e9c99fce1fc0345ada77636 100644
(file)
--- a/
source/heimdal/lib/krb5/pac.c
+++ b/
source/heimdal/lib/krb5/pac.c
@@
-324,20
+324,6
@@
krb5_pac_get_buffer(krb5_context context, krb5_pac p,
krb5_error_code ret;
uint32_t i;
krb5_error_code ret;
uint32_t i;
- /*
- * Hide the checksums from external consumers
- */
-
- if (type == PAC_PRIVSVR_CHECKSUM || type == PAC_SERVER_CHECKSUM) {
- ret = krb5_data_alloc(data, 16);
- if (ret) {
- krb5_set_error_message(context, ret, "malloc: out of memory");
- return ret;
- }
- memset(data->data, 0, data->length);
- return 0;
- }
-
for (i = 0; i < p->pac->numbuffers; i++) {
size_t len = p->pac->buffers[i].buffersize;
size_t offset = p->pac->buffers[i].offset_lo;
for (i = 0; i < p->pac->numbuffers; i++) {
size_t len = p->pac->buffers[i].buffersize;
size_t offset = p->pac->buffers[i].offset_lo;