summaryrefslogtreecommitdiff
path: root/lib/util/asn1.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-02 00:20:48 +0200
committerVolker Lendecke <vl@samba.org>2009-06-06 10:42:55 +0200
commit537b257cca5dfc08e22195462372b94c6f495742 (patch)
treeb8bddffb7d7b66f28d597a1264e6d5e9e3cd72a9 /lib/util/asn1.c
parenta731eb64d9a9415d5df2a385326cc14fcd4481eb (diff)
downloadsamba-537b257cca5dfc08e22195462372b94c6f495742.tar.gz
Use data_blob_null instead of data_blob(NULL, 0)
Diffstat (limited to 'lib/util/asn1.c')
-rw-r--r--lib/util/asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/asn1.c b/lib/util/asn1.c
index a2665ed5397..c687f8dc9a1 100644
--- a/lib/util/asn1.c
+++ b/lib/util/asn1.c
@@ -653,7 +653,7 @@ bool asn1_read_OctetString(struct asn1_data *data, TALLOC_CTX *mem_ctx, DATA_BLO
if (data->has_error) {
data_blob_free(blob);
- *blob = data_blob(NULL, 0);
+ *blob = data_blob_null;
return false;
}
return true;