[CONC-603] Wrong error handling in TLS read/write Created: 2022-07-10  Updated: 2022-07-29

Status: Open
Project: MariaDB Connector/C
Component/s: TLS/SSL
Affects Version/s: 3.3.1, 3.1.16
Fix Version/s: 3.1.17, 3.3.2

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-27405 Inconsistent error messages upon miss... Open

 Description   

The current implementation of ma_tls_read/write doesn't handle post handshakes correctly: If an alert occurs after handshake (TLSv1.3) or renogitation it's not handled properly: Instead of getting the TLS error message, a general error "ERROR 2013 (HY000): Lost connection to server at 'sending authentication information', system error: 104" is returned.

This issue is the client part of MDEV-27405


Generated at Thu Feb 08 03:06:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.