creds-util: switch to OpenSSL 3.0 APIs
authorLennart Poettering <lennart@poettering.net>
Wed, 29 Sep 2021 07:47:08 +0000 (09:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Sep 2021 13:04:14 +0000 (15:04 +0200)
commit18f568b8e64b48f6aee204cc6384b4796cd27eb0
treea969aedf32c534f5b1aabf78871d7b519a9cc54f
parent14bb72953458caace048b55ead7ea06a592b864f
creds-util: switch to OpenSSL 3.0 APIs

Let's switch from the low-level SHA256 APIs to EVP APIs. The former are
deprecated on OpenSSL 3.0, the latter are supported both by old
OpenSSL and by OpenSSL 3.0, hence are the better choice.

Fixes: #20775
src/shared/creds-util.c
src/shared/openssl-util.h