| 1139 | } |
| 1140 | |
| 1141 | int uh_open_wkey() |
| 1142 | { |
| 1143 | if (!uh_is_initialized) |
| 1144 | { |
| 1145 | start_thread(); |
| 1146 | |
| 1147 | if (!uh_is_initialized) |
| 1148 | { |
| 1149 | return -1; |
| 1150 | } |
| 1151 | } |
| 1152 | |
| 1153 | |
| 1154 | uh_wkey_in_use = 1; |
| 1155 | return uh_wkey_pair[1]; |
| 1156 | } |
| 1157 | |
| 1158 | |
| 1159 | // |
no test coverage detected