mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
3fb3361266
commit
a389bf7ae5
@ -802,7 +802,7 @@ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex)
|
|||||||
if (mem_ctx != NULL)
|
if (mem_ctx != NULL)
|
||||||
ret_blob = data_blob_talloc(mem_ctx, NULL, strlen(strhex)/2+1);
|
ret_blob = data_blob_talloc(mem_ctx, NULL, strlen(strhex)/2+1);
|
||||||
else
|
else
|
||||||
data_blob(NULL, strlen(strhex)/2+1);
|
ret_blob = data_blob(NULL, strlen(strhex)/2+1);
|
||||||
|
|
||||||
ret_blob.length = strhex_to_str((char*)ret_blob.data,
|
ret_blob.length = strhex_to_str((char*)ret_blob.data,
|
||||||
strlen(strhex),
|
strlen(strhex),
|
||||||
|
Loading…
Reference in New Issue
Block a user