mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
uru4000: Use OpenSSL to perform AES-ECB encryption
Drop usage of NSS library now that openssl >= 3.0 has not anymore any license incompatibility. OpenSSL will provide us a better ground for further developments and it's also the preferred crypto library by most distros these days
This commit is contained in:
committed by
Marco Trevisan
parent
7a60912b61
commit
133eaab061
12
meson.build
12
meson.build
@@ -203,7 +203,7 @@ driver_helper_mapping = {
|
||||
'aes2660' : [ 'aeslib', 'aesx660' ],
|
||||
'aes3500' : [ 'aeslib', 'aes3k' ],
|
||||
'aes4000' : [ 'aeslib', 'aes3k' ],
|
||||
'uru4000' : [ 'nss' ],
|
||||
'uru4000' : [ 'openssl' ],
|
||||
'elanspi' : [ 'udev' ],
|
||||
'virtual_image' : [ 'virtual' ],
|
||||
'virtual_device' : [ 'virtual' ],
|
||||
@@ -260,13 +260,13 @@ foreach i : driver_helpers
|
||||
|
||||
libfprint_conf.set10('HAVE_PIXMAN', true)
|
||||
optional_deps += imaging_dep
|
||||
elif i == 'nss'
|
||||
nss_dep = dependency('nss', required: false)
|
||||
if not nss_dep.found()
|
||||
error('nss is required for @0@ and possibly others'.format(driver))
|
||||
elif i == 'openssl'
|
||||
openssl_dep = dependency('openssl', version: '>= 3.0', required: false)
|
||||
if not openssl_dep.found()
|
||||
error('OpenSSL is required for @0@ and possibly others'.format(driver))
|
||||
endif
|
||||
|
||||
optional_deps += nss_dep
|
||||
optional_deps += openssl_dep
|
||||
elif i == 'udev'
|
||||
install_udev_rules = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user