diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-15 17:02:49 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-21 15:10:37 +1100 |
commit | 3b591caed00790c5d21b8774c7af87357c329d1c (patch) | |
tree | b44294e3a1e20ea72d188abf5725f38a6de591dd /lib/util/tests | |
parent | 32bae1051272e805e290e49dffb25e4a635ffdfb (diff) | |
download | samba-3b591caed00790c5d21b8774c7af87357c329d1c.tar.gz samba-3b591caed00790c5d21b8774c7af87357c329d1c.tar.bz2 samba-3b591caed00790c5d21b8774c7af87357c329d1c.zip |
lib/util/asn1.c - remove the "const" specifier from OID
There is no reason to have it "const" since it's an allocated thing.
Diffstat (limited to 'lib/util/tests')
-rw-r--r-- | lib/util/tests/asn1_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/tests/asn1_tests.c b/lib/util/tests/asn1_tests.c index 5cc514616b..ac8ca538f8 100644 --- a/lib/util/tests/asn1_tests.c +++ b/lib/util/tests/asn1_tests.c @@ -148,7 +148,7 @@ static bool test_ber_write_OID_String(struct torture_context *tctx) static bool test_ber_read_OID_String(struct torture_context *tctx) { int i; - const char *oid; + char *oid; DATA_BLOB oid_blob; TALLOC_CTX *mem_ctx; const struct oid_data *data = oid_data_ok; @@ -221,7 +221,7 @@ static bool test_ber_write_partial_OID_String(struct torture_context *tctx) static bool test_ber_read_partial_OID_String(struct torture_context *tctx) { int i; - const char *oid; + char *oid; DATA_BLOB oid_blob; TALLOC_CTX *mem_ctx; const struct oid_data *data = oid_data_ok; |