mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
r4077: don't add wrapping to empty blobs
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
2647b47557
commit
e6d83d019d
@@ -34,7 +34,11 @@
|
||||
DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *ticket, const uint8 tok_id[2])
|
||||
{
|
||||
struct asn1_data data;
|
||||
DATA_BLOB ret;
|
||||
DATA_BLOB ret = data_blob(NULL,0);
|
||||
|
||||
if (!ticket->data) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
ZERO_STRUCT(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user