diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-08-28 16:19:16 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-08-28 16:19:16 +1000 |
commit | 0b16d70f3941712ed7889d57ecbc45fe0fa68916 (patch) | |
tree | 3b6c3adadf7e484ec7844428abc2301e6e2cd253 /source4 | |
parent | c59c6cf18b5dbbdf3eabc1a4c0d1ed4832f36f2a (diff) | |
download | samba-0b16d70f3941712ed7889d57ecbc45fe0fa68916.tar.gz samba-0b16d70f3941712ed7889d57ecbc45fe0fa68916.tar.bz2 samba-0b16d70f3941712ed7889d57ecbc45fe0fa68916.zip |
Don't wipe the PAC checksums, the caller may actually need them.
(This used to be commit 9db5a966fce0b71a0d2167b4aff70cc081abc1cc)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal/lib/krb5/pac.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/heimdal/lib/krb5/pac.c b/source4/heimdal/lib/krb5/pac.c index ac7e3eda9b..9a145c48e6 100644 --- a/source4/heimdal/lib/krb5/pac.c +++ b/source4/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; - /* - * 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; |