Skip to content

Commit

Permalink
tls: avoid discards ‘const’ qualifier warning for older openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Nov 16, 2022
1 parent 7bb85f5 commit b2a8f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls/openssl/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,7 @@ struct tls_cert *tls_cert_for_sni(const struct tls *tls, const struct pl *sni)
cn = mem_zalloc(sni->l + 1, NULL);
LIST_FOREACH(&tls->certs, le) {
X509 *x509;
const X509_NAME *nm;
X509_NAME *nm;
bool match = false;
int err;

Expand Down

0 comments on commit b2a8f82

Please sign in to comment.