summaryrefslogtreecommitdiff
path: root/rw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rw.cpp')
-rw-r--r--rw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rw.cpp b/rw.cpp
index ab3fb70..16534c8 100644
--- a/rw.cpp
+++ b/rw.cpp
@@ -22,7 +22,7 @@ void EMSA2Pad::ComputeMessageRepresentative(RandomNumberGenerator &rng,
unsigned int representativeByteLength = BitsToBytes(representativeBitLength);
representative[0] = messageEmpty ? 0x4b : 0x6b;
- memset(representative+1, 0xbb, representativeByteLength-digestSize-4); // padd with 0xbb
+ memset(representative+1, 0xbb, representativeByteLength-digestSize-4); // pad with 0xbb
byte *afterP2 = representative+representativeByteLength-digestSize-3;
afterP2[0] = 0xba;
hash.Final(afterP2+1);