[CONC-207] GnuTLS cmake check is insufficient Created: 2016-10-11  Updated: 2016-10-11  Resolved: 2016-10-11

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

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks

 Description   

C/C checks in CMakeLists.txt that GnuTLS is available. But it does not check whether GnuTLS version is too old, thus it's possible to have a build configured successfully and fail during the compilation. CMakeLists.txt must either require GnuTLS no older than a specific version (use second argument in find_package) or check with check_c_source_compiles that all necessary files and symbols are present.

Currently this breaks the build in buildbot on valgrind builder.



 Comments   
Comment by Georg Richter [ 2016-10-11 ]

Fixed (commit 7e2804f95a3e2466a310ce03982537f7ab5d11b6)
required version for GnuTLS is 3.4.0 or above (gnutls_set_priority_direct).

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