1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

openssl: make RSA struct const

OpenSSL 3.0 broke API there, but it doesn't hurt to add the "const",
hence add it.

Fixes: #19267
This commit is contained in:
Lennart Poettering 2021-04-10 14:59:40 +02:00 committed by Luca Boccassi
parent 080e5c2fde
commit a8fd92b5a3

View File

@ -46,7 +46,7 @@ int rsa_pkey_to_suitable_key_size(
size_t *ret_suitable_key_size) {
size_t suitable_key_size;
RSA *rsa;
const RSA *rsa;
int bits;
assert_se(pkey);