[CONC-414] mysql_real_connect() is crashing for SSL connection when client key and client certificate passed Created: 2019-05-30  Updated: 2019-06-27  Resolved: 2019-06-27

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.10
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Deep Shikha Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Windows


Attachments: File ConsoleApplication1.cpp    

 Description   

mysql_real_connect() is crashing for SSL connection when client key and client certificate passed. It give error "OPENSSL_Uplink(60718000,08): no OPENSSL_Applink".

For MariaDB C connector version 2.2.3 It returns below error:
Error No. 2026 Error: tlsv1 alert unknown ca

OpenSSL -Win32 version: OpenSSL 1.0.2q



 Comments   
Comment by Georg Richter [ 2019-05-30 ]

This doesn't seem a bug in Connector/C, but in your application. Looks like you're using different linker options for the application which are not compatible with the linker options openssl was built.

See also OpenSSL FAQ

Comment by Deep Shikha [ 2019-06-03 ]

Issue resolved by the link provided.

Thank you.

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