Re: [gtk-vnc-devel] [patch] - implement preferable auth methods



On Fri, Apr 25, 2008 at 01:41:18PM -0300, Jonh Wendell wrote:
> Hi.
> 
> Currently we are just accepting the first auth method advertised by the
> server. This is bad in cases when the server advertises "5, 6 and 2" for
> instance. We don't support 5 and 6, but we do support 2. The connection
> should go on here.
> 
> In this patch I implemented this feature, by adding a private array
> which contains the preferable order of auth methods.

Yes, this looks like a reasonable approach to take.


Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]