1
10
13
14
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
82
83
84
85
86
92
93
99
100
101
102
108
109
110
111
112
113
114
115
116
117
118
...
...
...
#define NX_SECURE_SOURCE_CODE
#include "nx_secure_tls.h"
NX_SECURE_CALLER_CHECKING_EXTERNS
...
...
UINT _nxe_secure_tls_session_delete(NX_SECURE_TLS_SESSION *tls_session)
{
UINT status;
NX_SECURE_TLS_SESSION *session_ptr;
if (tls_session == NX_NULL)
{
return(NX_PTR_ERROR);
}if (tls_session == NX_NULL) { ... }
session_ptr = _nx_secure_tls_created_ptr;
for (;;)
{
if (session_ptr == NX_NULL)
{
return(NX_PTR_ERROR);
}if (session_ptr == NX_NULL) { ... }
if (session_ptr == tls_session)
{
break;
}if (session_ptr == tls_session) { ... }
session_ptr = session_ptr -> nx_secure_tls_created_next;
if (session_ptr == _nx_secure_tls_created_ptr)
{
return(NX_PTR_ERROR);
}if (session_ptr == _nx_secure_tls_created_ptr) { ... }
}for (;;) { ... }
NX_THREADS_ONLY_CALLER_CHECKING
status = _nx_secure_tls_session_delete(tls_session);
return(status);
}{ ... }