summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl_symbols_p.h
diff options
context:
space:
mode:
authorNikita Baryshnikov <nib952051@gmail.com>2015-02-26 09:04:20 +0300
committerRichard J. Moore <rich@kde.org>2015-03-04 23:48:24 +0000
commit29051bce39d24a6e33155feeec2833b79b55ff16 (patch)
treee391ca2cf2caade3364b52ec15a3eb3f128fd89a /src/network/ssl/qsslsocket_openssl_symbols_p.h
parent259b2b6cd76cbd86c6db1db782b5678df0686749 (diff)
QSslSocket: fix compilation error
invalid conversion from ‘unsigned char**’ to ‘const unsigned char**’ Task-number: QTBUG-44744 Change-Id: I6263db106fe28c6aa04db8ca79421b3a9fc5adc9 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_symbols_p.h')
-rw-r--r--src/network/ssl/qsslsocket_openssl_symbols_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_symbols_p.h b/src/network/ssl/qsslsocket_openssl_symbols_p.h
index aedd477b39..626c049629 100644
--- a/src/network/ssl/qsslsocket_openssl_symbols_p.h
+++ b/src/network/ssl/qsslsocket_openssl_symbols_p.h
@@ -440,7 +440,7 @@ STACK_OF(X509) *q_X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
// Diffie-Hellman support
DH *q_DH_new();
void q_DH_free(DH *dh);
-DH *q_d2i_DHparams(DH **a, unsigned char **pp, long length);
+DH *q_d2i_DHparams(DH **a, const unsigned char **pp, long length);
BIGNUM *q_BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
#define q_SSL_CTX_set_tmp_dh(ctx, dh) q_SSL_CTX_ctrl((ctx), SSL_CTRL_SET_TMP_DH, 0, (char *)dh)