Ticket #538: work-around-for-bug538.patch
File work-around-for-bug538.patch, 676 bytes (added by , 9 years ago) |
---|
-
openvpn-2.3.11/src/openvpn/console.c
201 201 ASSERT (capacity > 0); 202 202 input[0] = '\0'; 203 203 204 #ifdef ENABLE_SYSTEMD 204 /*#ifdef ENABLE_SYSTEMD 205 * Temporary work-around for https://bugs.freedesktop.org/show_bug.cgi?id=90289 206 * "no PIN prompt with PKCS11 when systemd is enabled" 207 * Attention: work-around does not work in daemon mode 205 208 if (check_systemd_running ()) 206 209 return get_console_input_systemd (prompt, echo, input, capacity); 207 #endif 210 #endif*/ 208 211 209 212 #if defined(WIN32) 210 213 return get_console_input_win32 (prompt, echo, input, capacity);