Skip to content

Commit

Permalink
quick fix for qt5 on cetting a cipher
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Dec 31, 2023
1 parent 2291675 commit 0f89717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/association.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void DtlsAssociation::pskRequired(QSslPreSharedKeyAuthenticator *auth)

void DtlsAssociation::setCipher(QString chosenCipher) {

#if QT_VERSION < QT_VERSION_CHECK(6, 00, 0)
#if QT_VERSION > QT_VERSION_CHECK(6, 00, 0)
configuration.setCiphers(chosenCipher);
crypto.setDtlsConfiguration(configuration);
#else
Expand Down

0 comments on commit 0f89717

Please sign in to comment.