diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index 116a6693c43..1071662d96d 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -876,7 +876,7 @@ void QSslConfiguration::setDiffieHellmanParameters(const QSslDiffieHellmanParame Returns the backend-specific configuration. - Only options set by addBackendConfiguration() or setBackendConfiguration() will be + Only options set by setBackendConfigurationOption() or setBackendConfiguration() will be returned. The internal standard configuration of the backend is not reported. \sa setBackendConfigurationOption(), setBackendConfiguration() @@ -916,13 +916,13 @@ void QSslConfiguration::setBackendConfigurationOption(const QByteArray &name, co Without a \a backendConfiguration parameter this function will clear the backend-specific configuration. More information about the supported - options is available in the documentation of addBackendConfiguration(). + options is available in the documentation of setBackendConfigurationOption(). \sa backendConfiguration(), setBackendConfigurationOption() */ -void QSslConfiguration::setBackendConfiguration(const QMap &backendConfig) +void QSslConfiguration::setBackendConfiguration(const QMap &backendConfiguration) { - d->backendConfig = backendConfig; + d->backendConfig = backendConfiguration; } /*! diff --git a/src/network/ssl/qsslconfiguration.h b/src/network/ssl/qsslconfiguration.h index a5561d98286..fe4181d7558 100644 --- a/src/network/ssl/qsslconfiguration.h +++ b/src/network/ssl/qsslconfiguration.h @@ -152,7 +152,7 @@ class Q_NETWORK_EXPORT QSslConfiguration QMap backendConfiguration() const; void setBackendConfigurationOption(const QByteArray &name, const QVariant &value); - void setBackendConfiguration(const QMap &backendConfig = QMap()); + void setBackendConfiguration(const QMap &backendConfiguration = QMap()); static QSslConfiguration defaultConfiguration(); static void setDefaultConfiguration(const QSslConfiguration &configuration);