summaryrefslogtreecommitdiff
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
parenta731eb64d9a9415d5df2a385326cc14fcd4481eb (diff)
downloadsamba-537b257cca5dfc08e22195462372b94c6f495742.tar.gz
samba-537b257cca5dfc08e22195462372b94c6f495742.tar.bz2
samba-537b257cca5dfc08e22195462372b94c6f495742.zip
Use data_blob_null instead of data_blob(NULL, 0)
-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 a2665ed539..c687f8dc9a 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;