[CONC-224] cmake -DWITH_SSL=OFF not working Created: 2017-01-02  Updated: 2018-05-09  Resolved: 2017-01-11

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.1
Fix Version/s: 3.0.1

Type: Bug Priority: Major
Reporter: Jarosław Siebert Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux


Issue Links:
Relates
relates to CONC-330 cmake -DWITH_SSL=OFF not working Closed

 Description   

Before 3th December 2016 I could compile mariadb-connector-c without SSL support. I used to setup compilation process with cmake:
cmake -DWITH_SSL=OFF ..
When I did it today with sources from git, the build process found that I have OpenSSL and ignored my -DWITH_SSL=OFF option. AS a result I get libraries with
OpenSSL support compiled in it. How could I force build process to not include support for ssl?



 Comments   
Comment by Georg Richter [ 2017-01-02 ]

Hi Jaroslav,

since MariaDB Server 10.2 Connector/C 3.0 is included in server package which requires TLS/SSL as mandatory (Connector/C replaced libmysql) - I agree that we need for standalone Connector/C an option to build without TLS/SSL (especially for embedded devices which prefer a small library).

Comment by Jarosław Siebert [ 2017-01-05 ]

Hi Georg,
it would be great if Connector/C keeps compiling without ssl support. Will you make it possible again, or do I need to add ssl dependency to my embedded systems?

Comment by Georg Richter [ 2017-01-11 ]

Pushed to master (rev. 65d2c4192167e321a1dc4392d92c9870d37c058a)

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