]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
crypto-util: set log level to debug in dlopen_many_sym_or_warn()
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 30 Jun 2026 08:39:16 +0000 (10:39 +0200)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 30 Jun 2026 08:39:16 +0000 (10:39 +0200)
Otherwise in systems with OpenSSL 3 the journal contains multiple error entries
because the preferred library libcrypto.so.4 is not present.

Follow-up for ccdd42351f79cbb9c2e034a96280a1ded40a2f95

src/shared/crypto-util.c

index 5b1d6d813663526523045b9bba87a1bce1fca6dd..dda6c3a46b997e2b67dab03a5ed454cd3f098980 100644 (file)
@@ -362,7 +362,7 @@ int dlopen_libcrypto(int log_level) {
                 r = dlopen_many_sym_or_warn(
                         &libcrypto_dl,
                         soname,
-                        log_level,
+                        LOG_DEBUG,
                         DLSYM_ARG(ASN1_ANY_it),
                         DLSYM_ARG(ASN1_BIT_STRING_it),
                         DLSYM_ARG(ASN1_BMPSTRING_it),