Mercurial > hg > Members > nobuyasu > tightVNCProxy
diff src/myVncProxy/RfbProto.java @ 166:3c055da4d050
add authenticate AuthAccess
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 Oct 2011 19:50:30 +0900 |
parents | db5f735fd2b4 |
children | 134deb9f8148 |
line wrap: on
line diff
--- a/src/myVncProxy/RfbProto.java Wed Oct 12 06:45:04 2011 +0900 +++ b/src/myVncProxy/RfbProto.java Mon Oct 24 19:50:30 2011 +0900 @@ -349,7 +349,9 @@ // Find first supported security type. for (int i = 0; i < nSecTypes; i++) { - if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth) { +// if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth) { + if (secTypes[i] == SecTypeNone || secTypes[i] == SecTypeVncAuth + || secTypes[i] == MyRfbProto.SecTypeReqAccess ) { secType = secTypes[i]; break; }