From a2d69a8b6675f0de5c3c61b5e8002965bcd1c13c Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 9 Dec 2014 17:21:19 -0500 Subject: [PATCH] fixed build error --- Reseed.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Reseed.cpp b/Reseed.cpp index 6d5feb61..68b07b79 100644 --- a/Reseed.cpp +++ b/Reseed.cpp @@ -143,7 +143,7 @@ namespace data signatureType = be16toh (signatureType); uint16_t signatureLength; s.read ((char *)&signatureLength, 2); // signature length - signatureLength = be16toh (signatureLentgh); + signatureLength = be16toh (signatureLength); s.seekg (1, std::ios::cur); // unused uint8_t versionLength; s.read ((char *)&versionLength, 1); // version length @@ -171,8 +171,8 @@ namespace data } s.seekg (2, std::ios::cur); // unused - s.seek (versionLength, std::ios::cur); // skip version - s.seek (signerIDLength, std::ios::cur); // skip signer ID + s.seekg (versionLength, std::ios::cur); // skip version + s.seekg (signerIDLength, std::ios::cur); // skip signer ID // handle content while (!s.eof ())