Skip to content

Commit

Permalink
Make settings and options parameters const in recordmethod.h
Browse files Browse the repository at this point in the history
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #18132)
  • Loading branch information
mattcaswell committed Aug 18, 2022
1 parent 34a4068 commit 0c974fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ssl/record/recordmethod.h
Expand Up @@ -129,8 +129,9 @@ struct ossl_record_method_st {
int level, unsigned char *secret,
size_t secretlen, SSL_CIPHER *c,
BIO *transport, BIO_ADDR *local,
BIO_ADDR *peer, OSSL_PARAM *settings,
OSSL_PARAM *options);
BIO_ADDR *peer,
const OSSL_PARAM *settings,
const OSSL_PARAM *options);
void (*free)(OSSL_RECORD_LAYER *rl);

int (*reset)(OSSL_RECORD_LAYER *rl); /* Is this needed? */
Expand Down

0 comments on commit 0c974fc

Please sign in to comment.