strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getpass(3) is not supported on Android.
[strongswan.git]
/
src
/
stroke
/
stroke.c
diff --git
a/src/stroke/stroke.c
b/src/stroke/stroke.c
index
2d2ebe8
..
2abbd7b
100644
(file)
--- a/
src/stroke/stroke.c
+++ b/
src/stroke/stroke.c
@@
-101,7
+101,11
@@
static int send_stroke_msg (stroke_msg_t *msg)
{
*pass = ' ';
}
+#ifdef HAVE_GETPASS
pass = getpass(buffer);
+#else
+ pass = "";
+#endif
if (pass)
{
ignore_result(write(sock, pass, strlen(pass)));