Skip to content

Commit

Permalink
Fix tst_qsslkey to compile when SSL is disabled
Browse files Browse the repository at this point in the history
Move it to the section requiring SSL tests since it
requires QSslConfiguration.

Change-Id: I5c807976ce75fa5967bddb8edd7788dbfbb89375
Reviewed-by: Mårten Nordheim <[email protected]>
  • Loading branch information
FriedemannKleint committed Oct 23, 2020
1 parent 6681fa7 commit f6d09d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/auto/network/ssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ add_subdirectory(qsslcertificate)
add_subdirectory(qsslcipher)
add_subdirectory(qsslellipticcurve)
add_subdirectory(qsslerror)
add_subdirectory(qsslkey)
if(QT_FEATURE_ssl)
add_subdirectory(qsslkey)
endif()
if(QT_FEATURE_private_tests AND QT_FEATURE_ssl)
add_subdirectory(qsslsocket)
add_subdirectory(qsslsocket_onDemandCertificates_member)
Expand Down
4 changes: 2 additions & 2 deletions tests/auto/network/ssl/ssl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ SUBDIRS=\
qsslcertificate \
qsslcipher \
qsslellipticcurve \
qsslerror \
qsslkey \
qsslerror

qtConfig(ssl) {
SUBDIRS += qsslkey
qtConfig(private_tests) {
SUBDIRS += \
qsslsocket \
Expand Down

0 comments on commit f6d09d4

Please sign in to comment.