aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/minitasn1/parser_aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/minitasn1/parser_aux.c')
-rw-r--r--src/daemon/https/minitasn1/parser_aux.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/daemon/https/minitasn1/parser_aux.c b/src/daemon/https/minitasn1/parser_aux.c
index 2ec54cbf..6e82dd71 100644
--- a/src/daemon/https/minitasn1/parser_aux.c
+++ b/src/daemon/https/minitasn1/parser_aux.c
@@ -42,12 +42,12 @@ typedef struct list_struct
42 42
43 43
44/* Pointer to the first element of the list */ 44/* Pointer to the first element of the list */
45list_type *firstElement = NULL; 45list_type *MHD_firstElement = NULL;
46 46
47/******************************************************/ 47/******************************************************/
48/* Function : MHD__asn1_add_node */ 48/* Function : MHD__asn1_add_node */
49/* Description: creates a new NODE_ASN element and */ 49/* Description: creates a new NODE_ASN element and */
50/* puts it in the list pointed by firstElement. */ 50/* puts it in the list pointed by MHD_firstElement. */
51/* Parameters: */ 51/* Parameters: */
52/* type: type of the new element (see TYPE_ */ 52/* type: type of the new element (see TYPE_ */
53/* and CONST_ constants). */ 53/* and CONST_ constants). */
@@ -71,8 +71,8 @@ MHD__asn1_add_node (unsigned int type)
71 } 71 }
72 72
73 listElement->node = punt; 73 listElement->node = punt;
74 listElement->next = firstElement; 74 listElement->next = MHD_firstElement;
75 firstElement = listElement; 75 MHD_firstElement = listElement;
76 76
77 punt->type = type; 77 punt->type = type;
78 78
@@ -439,10 +439,10 @@ MHD__asn1_delete_list (void)
439{ 439{
440 list_type *listElement; 440 list_type *listElement;
441 441
442 while (firstElement) 442 while (MHD_firstElement)
443 { 443 {
444 listElement = firstElement; 444 listElement = MHD_firstElement;
445 firstElement = firstElement->next; 445 MHD_firstElement = MHD_firstElement->next;
446 MHD__asn1_free (listElement); 446 MHD__asn1_free (listElement);
447 } 447 }
448} 448}
@@ -457,10 +457,10 @@ MHD__asn1_delete_list_and_nodes (void)
457{ 457{
458 list_type *listElement; 458 list_type *listElement;
459 459
460 while (firstElement) 460 while (MHD_firstElement)
461 { 461 {
462 listElement = firstElement; 462 listElement = MHD_firstElement;
463 firstElement = firstElement->next; 463 MHD_firstElement = MHD_firstElement->next;
464 MHD__asn1_remove_node (listElement->node); 464 MHD__asn1_remove_node (listElement->node);
465 MHD__asn1_free (listElement); 465 MHD__asn1_free (listElement);
466 } 466 }