1
0
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:
Kurt Jaeger 2014-08-11 18:33:10 +00:00
parent 49171edd5c
commit 64f11677cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364635

View 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;
}