Skip to content

Commit a90705b

Browse files
committed
meson: ssl version checking allowed version only
>=1.1.0 & <2.0.0 or >=3.0.0 For lower version of ssl or 2.x, config will be below define CONFIG_OPENSSL undef CONFIG_OPENSSL_1 undef CONFIG_OPENSSL_3 so function nvme_gen_dhchap_key is not defined in c file Signed-off-by: Steven Seungcheol Lee <[email protected]>
1 parent c66a5a7 commit a90705b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ conf.set('CONFIG_JSONC', json_c_dep.found(), description: 'Is json-c required?')
4545

4646
# Check for OpenSSL availability
4747
openssl_dep = dependency('openssl',
48+
version: '>=1.1.0',
4849
required: get_option('openssl'),
4950
fallback : ['openssl', 'openssl_dep'])
5051
if openssl_dep.found()

0 commit comments

Comments
 (0)