Reduce QtNetwork lib size by 16111 bytes.
Warning message was repeated multiple times inside the library. Change-Id: Idcd417dda22de189893db597acfc36c2aa99d078 Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
4aca7847be
commit
bb26e087bd
|
|
@ -119,6 +119,11 @@ void qsslSocketUnresolvedSymbolWarning(const char *functionName)
|
|||
{
|
||||
qWarning("QSslSocket: cannot call unresolved function %s", functionName);
|
||||
}
|
||||
|
||||
void qsslSocketCannotResolveSymbolWarning(const char *functionName)
|
||||
{
|
||||
qWarning("QSslSocket: cannot resolve %s", functionName);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SSLEAY_MACROS
|
||||
|
|
@ -345,7 +350,7 @@ DEFINEFUNC3(SSL_SESSION *, d2i_SSL_SESSION, SSL_SESSION **a, a, const unsigned c
|
|||
#define RESOLVEFUNC(func) \
|
||||
if (!(_q_##func = _q_PTR_##func(libs.first->resolve(#func))) \
|
||||
&& !(_q_##func = _q_PTR_##func(libs.second->resolve(#func)))) \
|
||||
qWarning("QSslSocket: cannot resolve "#func);
|
||||
qsslSocketCannotResolveSymbolWarning(#func);
|
||||
|
||||
#if !defined QT_LINKED_OPENSSL
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue