QCryptographicHash: clear the result in QCH::reset() when using OpenSSL
OpenSSL implementation did not clear the previous result when calling QCH::reset(). This could lead to not generating new hashes. Pick-to: 6.5 Change-Id: Ic83e6382038a2f8808af950b88e57316b90ef2bc Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
ce20b81070
commit
1fe74c3bd3
@ -560,8 +560,8 @@ void QCryptographicHashPrivate::reset() noexcept
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
result.clear();
|
||||
#endif // !QT_CONFIG(opensslv30)
|
||||
result.clear();
|
||||
}
|
||||
|
||||
#if QT_DEPRECATED_SINCE(6, 4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user