mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
net/tightvnc: allow null authentication
PR: 182474 Submitted by: peter@rulingia.com Approved by: meta@vmeta.jp (maintainer timeout)
This commit is contained in:
parent
49171edd5c
commit
64f11677cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364635
12
net/tightvnc/files/patch-vncviewer__rfbproto.c
Normal file
12
net/tightvnc/files/patch-vncviewer__rfbproto.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- vncviewer/rfbproto.c~ 2006-12-08 18:20:03.000000000 +1100
|
||||
+++ vncviewer/rfbproto.c 2013-09-29 09:19:34.782746129 +1000
|
||||
@@ -569,7 +569,7 @@
|
||||
passwd = getpass("Password: ");
|
||||
}
|
||||
|
||||
- if (!passwd || strlen(passwd) == 0) {
|
||||
+ if (!passwd) {
|
||||
fprintf(stderr, "Reading password failed\n");
|
||||
return False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user