Lines 65-75
PKCS11Thread(void *data)
Link Here
|
65 |
return; |
65 |
return; |
66 |
} |
66 |
} |
67 |
|
67 |
|
|
|
68 |
#if defined(__GNUC__) && __GNUC__ >= 13 |
69 |
#pragma GCC diagnostic push |
70 |
#pragma GCC diagnostic ignored "-Wdangling-pointer" |
71 |
#endif |
68 |
if (threadData->isSign) { |
72 |
if (threadData->isSign) { |
69 |
sig.data = sigData; |
73 |
sig.data = sigData; |
70 |
sig.len = sizeof(sigData); |
74 |
sig.len = sizeof(sigData); |
71 |
threadData->p2 = (void *)&sig; |
75 |
threadData->p2 = (void *)&sig; |
72 |
} |
76 |
} |
|
|
77 |
#if defined(__GNUC__) && __GNUC__ >= 13 |
78 |
#pragma GCC diagnostic pop |
79 |
#endif |
73 |
|
80 |
|
74 |
while (iters--) { |
81 |
while (iters--) { |
75 |
threadData->status = (*op)(session, threadData->p1, |
82 |
threadData->status = (*op)(session, threadData->p1, |
Lines 93-103
genericThread(void *data)
Link Here
|
93 |
threadData->status = SECSuccess; |
100 |
threadData->status = SECSuccess; |
94 |
threadData->count = 0; |
101 |
threadData->count = 0; |
95 |
|
102 |
|
|
|
103 |
#if defined(__GNUC__) && __GNUC__ >= 13 |
104 |
#pragma GCC diagnostic push |
105 |
#pragma GCC diagnostic ignored "-Wdangling-pointer" |
106 |
#endif |
96 |
if (threadData->isSign) { |
107 |
if (threadData->isSign) { |
97 |
sig.data = sigData; |
108 |
sig.data = sigData; |
98 |
sig.len = sizeof(sigData); |
109 |
sig.len = sizeof(sigData); |
99 |
threadData->p2 = (void *)&sig; |
110 |
threadData->p2 = (void *)&sig; |
100 |
} |
111 |
} |
|
|
112 |
#if defined(__GNUC__) && __GNUC__ >= 13 |
113 |
#pragma GCC diagnostic pop |
114 |
#endif |
101 |
|
115 |
|
102 |
while (iters--) { |
116 |
while (iters--) { |
103 |
threadData->status = (*threadData->op)(threadData->p1, |
117 |
threadData->status = (*threadData->op)(threadData->p1, |
104 |
- |
|
|