diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-11-27 07:51:33 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-11-27 07:51:33 +0000 |
commit | 5fb443360603069396e081d36330fcd44d3945a0 (patch) | |
tree | 0ef3bbdfac5798b86a02c27971d69a62ed316db1 /ssl/ssl_ciph.c | |
parent | b0e9d0370262ade64c55f2385fbb09ec6aa81e76 (diff) |
Make ssl_cert_info read-only
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22828)
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r-- | ssl/ssl_ciph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 8360991ce4..31c0d5af1d 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -2234,7 +2234,7 @@ int ssl_cipher_get_overhead(const SSL_CIPHER *c, size_t *mac_overhead, int ssl_cert_is_disabled(SSL_CTX *ctx, size_t idx) { - SSL_CERT_LOOKUP *cl; + const SSL_CERT_LOOKUP *cl; /* A provider-loaded key type is always enabled */ if (idx >= SSL_PKEY_NUM) |