Skip to content

Commit

Permalink
xmlsec-mscng: fix block ciphers key size (issue #555)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh123 authored Mar 2, 2023
1 parent 4fa8730 commit fbe902e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mscng/ciphers.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ xmlSecMSCngBlockCipherSetKey(xmlSecTransformPtr transform, xmlSecKeyPtr key) {
xmlSecInvalidKeyDataSizeError(bufDataSize, ctx->keySize, xmlSecTransformGetName(transform));
goto done;
}
bufDataSize = ctx->keySize;

/* allocate the key object */
dwKeyObjectLength = dwBytesWritten = 0;
Expand Down

0 comments on commit fbe902e

Please sign in to comment.