projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080e5c2
)
openssl: make RSA struct const
author
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2021 12:59:40 +0000
(14:59 +0200)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Sat, 10 Apr 2021 19:03:06 +0000
(20:03 +0100)
OpenSSL 3.0 broke API there, but it doesn't hurt to add the "const",
hence add it.
Fixes: #19267
src/shared/openssl-util.c
patch
|
blob
|
history
diff --git
a/src/shared/openssl-util.c
b/src/shared/openssl-util.c
index 4ea72a8b2b0e441e6712bbedc784c0a072a71c6d..bb47ae5e873844b4137cae8b2844e116ccf286f3 100644
(file)
--- a/
src/shared/openssl-util.c
+++ b/
src/shared/openssl-util.c
@@
-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);