From 792776782e18417b8e6e63954db153f4d3d0d558 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 24 Jun 2004 19:25:20 +0000 Subject: r1240: Ensure we don't shadow Heimdal globals. Jeremy. (This used to be commit 464d2e90480c676688a851a141aabddf992e0b0e) --- source3/libsmb/asn1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/libsmb/asn1.c') diff --git a/source3/libsmb/asn1.c b/source3/libsmb/asn1.c index ecc5e3dee6..ca14f3fbb7 100644 --- a/source3/libsmb/asn1.c +++ b/source3/libsmb/asn1.c @@ -320,17 +320,17 @@ int asn1_tag_remaining(ASN1_DATA *data) BOOL asn1_read_OID(ASN1_DATA *data, char **OID) { uint8 b; - pstring oid; + pstring oid_str; fstring el; if (!asn1_start_tag(data, ASN1_OID)) return False; asn1_read_uint8(data, &b); - oid[0] = 0; + oid_str[0] = 0; fstr_sprintf(el, "%u", b/40); - pstrcat(oid, el); + pstrcat(oid_str, el); fstr_sprintf(el, " %u", b%40); - pstrcat(oid, el); + pstrcat(oid_str, el); while (asn1_tag_remaining(data) > 0) { unsigned v = 0; @@ -339,12 +339,12 @@ BOOL asn1_read_OID(ASN1_DATA *data, char **OID) v = (v<<7) | (b&0x7f); } while (!data->has_error && b & 0x80); fstr_sprintf(el, " %u", v); - pstrcat(oid, el); + pstrcat(oid_str, el); } asn1_end_tag(data); - *OID = strdup(oid); + *OID = strdup(oid_str); return !data->has_error; } -- cgit