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:
committed by
Luca Boccassi
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);
|
||||
|
||||
Reference in New Issue
Block a user