Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Minor code improvements
- Loading branch information
Showing
with
2 additions
and
3 deletions.
-
+2
−3
src/providers/hana/qgshanaconnectionstringbuilder.cpp
|
@@ -23,14 +23,13 @@ QgsHanaConnectionStringBuilder::QgsHanaConnectionStringBuilder( const QgsDataSou |
|
|
, mDatabase( uri.database() ) |
|
|
, mUserName( uri.username() ) |
|
|
, mPassword( uri.password() ) |
|
|
, mSslEnabled( false ) |
|
|
{ |
|
|
if ( !uri.hasParam( QStringLiteral( "sslEnabled" ) ) ) |
|
|
return; |
|
|
|
|
|
mSslEnabled = ( uri.param( QStringLiteral( "sslEnabled" ) ) == QLatin1String( "true" ) ) ? true : false; |
|
|
mSslEnabled = ( uri.param( QStringLiteral( "sslEnabled" ) ) == QLatin1String( "true" ) ); |
|
|
mSslCryptoProvider = uri.param( QStringLiteral( "sslCryptoProvider" ) ); |
|
|
mSslValidateCertificate = uri.param( QStringLiteral( "sslValidateCertificate" ) ) == QLatin1String( "true" ) ? true : false; |
|
|
mSslValidateCertificate = uri.param( QStringLiteral( "sslValidateCertificate" ) ) == QLatin1String( "true" ); |
|
|
if ( mSslValidateCertificate ) |
|
|
mSslHostNameInCertificate = uri.param( QStringLiteral( "sslHostNameInCertificate" ) ); |
|
|
mSslKeyStore = uri.param( QStringLiteral( "sslKeyStore" ) ); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.