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:
parent
080e5c2fde
commit
a8fd92b5a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user