[MDEV-22487] Server prints "Please supply a buffer for error string" instead of actual error string with wolfSSL Created: 2020-05-06  Updated: 2020-08-25  Resolved: 2020-05-06

Status: Closed
Project: MariaDB Server
Component/s: SSL
Affects Version/s: 10.4.12, 10.5.2
Fix Version/s: 10.4.13, 10.5.3

Type: Bug Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-18531 Use WolfSSL instead of YaSSL as "bund... Closed

 Description   

When the server is linked with wolfSSL, it doesn't seem to print all error messages. Sometimes, it just prints "Please supply a buffer for error string". For example:

2020-05-06 10:23:28 0 [Warning] Failed to setup SSL
2020-05-06 10:23:28 0 [Warning] SSL error: SSL_CTX_set_default_verify_paths failed
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string

Other wolfSSL users have also reported this problem previously:

https://www.wolfssl.com/forums/topic599-openssl-compatibility-and-errerrorstring.html

That post is almost 6 years old now, so hopefully there is actually a solution to this problem in recent versions of wolfSSL.


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