Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsslcontext_openssl.cpp File Reference

(65081c67f3d65b1c6e7e051a1b9d008eca3381e5)

#include <QtNetwork/qsslsocket.h>
#include <QtNetwork/qssldiffiehellmanparameters.h>
#include "qsslsocket_openssl_symbols_p.h"
#include "qsslcontext_openssl_p.h"
#include "qtlsbackend_openssl_p.h"
#include "qtlskey_openssl_p.h"
#include "qopenssl_p.h"
#include <QtNetwork/private/qssl_p.h>
#include <QtNetwork/private/qsslsocket_p.h>
#include <QtNetwork/private/qtlsbackend_p.h>
#include <QtNetwork/private/qssldiffiehellmanparameters_p.h>
#include <vector>
+ Include dependency graph for qsslcontext_openssl.cpp:

Go to the source code of this file.

Namespaces

namespace  QTlsPrivate
 Namespace containing onternal types that TLS backends implement.
 

Functions

int QTlsPrivate::q_X509Callback (int ok, X509_STORE_CTX *ctx)
 
int QTlsPrivate::q_X509CallbackDirect (int ok, X509_STORE_CTX *ctx)
 
static QString msgErrorSettingBackendConfig (const QString &why)
 
static QString msgErrorSettingEllipticCurves (const QString &why)
 
static int next_proto_cb (SSL *, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
 

Function Documentation

◆ msgErrorSettingBackendConfig()

static QString msgErrorSettingBackendConfig ( const QString & why)
inlinestatic

Definition at line 56 of file qsslcontext_openssl.cpp.

◆ msgErrorSettingEllipticCurves()

static QString msgErrorSettingEllipticCurves ( const QString & why)
inlinestatic

Definition at line 61 of file qsslcontext_openssl.cpp.

◆ next_proto_cb()

static int next_proto_cb ( SSL * ,
unsigned char ** out,
unsigned char * outlen,
const unsigned char * in,
unsigned int inlen,
void * arg )
static

Definition at line 156 of file qsslcontext_openssl.cpp.

References arg, QSslConfiguration::NextProtocolNegotiationNegotiated, QSslConfiguration::NextProtocolNegotiationNone, QSslConfiguration::NextProtocolNegotiationUnsupported, out, q_SSL_select_next_proto(), and qCWarning.

Referenced by QSslContext::createSsl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: