Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit f104a06

Browse files
committed
Merge pull request #370 from Eclo/fix-for-signing-empty-files
Fix for signing empty files
2 parents eb4596e + fc81628 commit f104a06

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ Listings/
4242

4343
*.axfdump
4444
/crypto/lib
45+
Firmware License (Crypto).rtf
46+
License (Crypto).rtf
47+
PKCryptoWelcome.rtf
48+
REDIST_CRYPTO.TXT
49+
ReleaseNotesCrypto.txt

CLR/Tools/MetaDataProcessor/MetaDataProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ struct Settings : CLR_RT_ParseOptions
15711571
{
15721572
TINYCLR_HEADER();
15731573

1574-
CLR_RT_Buffer buf;
1574+
CLR_RT_Buffer buf(RSA_BLOCK_SIZE_BYTES);
15751575
RSAKey privateKey;
15761576
CLR_RT_Buffer signature(RSA_BLOCK_SIZE_BYTES);
15771577

0 commit comments

Comments
 (0)