From d9f1fff5b35a2c852e69c2c58e68824b5f381d01 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 22 Oct 2008 14:06:08 +0200 Subject: s3: use shared asn1 code. Guenther --- source3/libsmb/clikrb5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/clikrb5.c') diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 790e8d5369..5bcc678847 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -340,7 +340,7 @@ bool unwrap_edata_ntstatus(TALLOC_CTX *mem_ctx, } asn1_start_tag(&data, ASN1_CONTEXT(2)); - asn1_read_OctetString(&data, &edata_contents); + asn1_read_OctetString(&data, NULL, &edata_contents); asn1_end_tag(&data); asn1_end_tag(&data); asn1_end_tag(&data); @@ -378,7 +378,7 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_ asn1_end_tag(&data); asn1_start_tag(&data, ASN1_CONTEXT(1)); - asn1_read_OctetString(&data, &pac_contents); + asn1_read_OctetString(&data, NULL, &pac_contents); asn1_end_tag(&data); asn1_end_tag(&data); asn1_end_tag(&data); -- cgit