diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp index 7ccafaeb36e..6044665d28f 100644 --- a/src/corelib/tools/qcryptographichash.cpp +++ b/src/corelib/tools/qcryptographichash.cpp @@ -560,8 +560,8 @@ void QCryptographicHashPrivate::reset() noexcept break; #endif } - result.clear(); #endif // !QT_CONFIG(opensslv30) + result.clear(); } #if QT_DEPRECATED_SINCE(6, 4)