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 20:03:06 +01:00
committed by Luca Boccassi
parent 080e5c2fde
commit a8fd92b5a3
+1 -1
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);