diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-10-05 04:46:20 +0300 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2009-10-16 12:54:13 +0300 |
commit | f11cdc19d1123ca0f7ac909e7c5307a7a3ad5fdb (patch) | |
tree | 10027d34f791193999521ddafe858437cf1e3b55 /lib/util/asn1.h | |
parent | cb71e8a73105f7dbeff42738b9c32194ed9a4023 (diff) | |
download | samba-f11cdc19d1123ca0f7ac909e7c5307a7a3ad5fdb.tar.gz samba-f11cdc19d1123ca0f7ac909e7c5307a7a3ad5fdb.tar.xz samba-f11cdc19d1123ca0f7ac909e7c5307a7a3ad5fdb.zip |
s4/asn1: Use explicite TALLOC_CTX in ber_write_OID functions
Diffstat (limited to 'lib/util/asn1.h')
-rw-r--r-- | lib/util/asn1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/asn1.h b/lib/util/asn1.h index 3d8e37b8ab8..ded3244bed1 100644 --- a/lib/util/asn1.h +++ b/lib/util/asn1.h @@ -61,8 +61,8 @@ bool asn1_pop_tag(struct asn1_data *data); bool asn1_write_implicit_Integer(struct asn1_data *data, int i); bool asn1_write_Integer(struct asn1_data *data, int i); bool asn1_write_BitString(struct asn1_data *data, const void *p, size_t length, uint8_t padding); -bool ber_write_OID_String(DATA_BLOB *blob, const char *OID); -bool ber_write_partial_OID_String(DATA_BLOB *blob, const char *partial_oid); +bool ber_write_OID_String(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, const char *OID); +bool ber_write_partial_OID_String(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, const char *partial_oid); bool asn1_write_OID(struct asn1_data *data, const char *OID); bool asn1_write_OctetString(struct asn1_data *data, const void *p, size_t length); bool asn1_write_LDAPString(struct asn1_data *data, const char *s); |