const Password &oldPass,
const Password &newPass)
{
- if (domainKEKInWrapForm.size() != sizeof(WrappedKeyAndInfo)) {
+ if (domainKEKInWrapForm.size() != sizeof(WrappedKeyAndInfoDKEK)) {
LogError("input size:" << domainKEKInWrapForm.size()
- << " Expected: " << sizeof(WrappedKeyAndInfo));
+ << " Expected: " << sizeof(WrappedKeyAndInfoDKEK));
ThrowErr(Exc::InternalError,
"buffer doesn't have proper size to store "
"WrappedKeyAndInfo in KeyProvider::reencrypt");