andyburke / UnityHTTP

A TcpClient-based HTTP library for Unity.
GNU General Public License v2.0
593 stars 147 forks source link

Increased verbosity on SSL authentication exceptions #59

Closed adrianrudnik closed 8 years ago

adrianrudnik commented 8 years ago

Currently we will only see an "Exception: The authentication or decryption has failed." message, like in #58. With the new change it is more verbose, giving the user a correct hint on what went wrong like

CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.1.13

Also the code currently assumed Unity without the otherwise used if directive.