Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit a0ce85d

Browse files
committed
Fix compiler warning
1 parent 1175a41 commit a0ce85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tls_openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static struct _tlscert_t *_x509_to_tlscert(xmpp_ctx_t *ctx, X509 *cert)
205205
static int
206206
verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx)
207207
{
208-
const STACK_OF(X509) *sk = X509_STORE_CTX_get1_chain(x509_ctx);
208+
STACK_OF(X509) *sk = X509_STORE_CTX_get1_chain(x509_ctx);
209209
int slen = sk_X509_num(sk);
210210
unsigned i;
211211
X509 *certsk;

0 commit comments

Comments
 (0)