]> source.dussan.org Git - tigervnc.git/commit
Don't abuse auth failure exception
authorPierre Ossman <ossman@cendio.se>
Wed, 7 Aug 2024 08:35:51 +0000 (10:35 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 7 Aug 2024 09:02:18 +0000 (11:02 +0200)
commit36b19b946dfca1ec6e098dc31ceaf1bf23f33977
treed51735ca82bb5337c71acd2c90392230e941e8fe
parentc9b46b771f5ebbc63c4aef4743c157c4f7407ac9
Don't abuse auth failure exception

This exception is for when the user fails to authenticate, not all
possible errors that might occur during the authentication phase.

Use more appropriate exception types for the various other problems that
might occur, so that we can present things more accurately to the user.
common/rfb/CSecurityDH.cxx
common/rfb/CSecurityMSLogonII.cxx
common/rfb/CSecurityRSAAES.cxx
common/rfb/CSecurityTLS.cxx
common/rfb/CSecurityVeNCrypt.cxx
common/rfb/SSecurityPlain.cxx
common/rfb/SSecurityRSAAES.cxx
common/rfb/SSecurityTLS.cxx
common/rfb/SSecurityVeNCrypt.cxx
common/rfb/SSecurityVncAuth.cxx