summaryrefslogtreecommitdiff
path: root/esign.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-16 04:21:27 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-16 04:21:27 -0400
commitc9d4ebb3d4db6d9626a99e9357cdb19d71798b4d (patch)
tree8a156752cbb0c19824a9ab833d8626333201e9f8 /esign.h
parent5f0cbde9804fa34ad8e71f6d9a96a351dc5a033b (diff)
downloadcryptopp-git-c9d4ebb3d4db6d9626a99e9357cdb19d71798b4d.tar.gz
Cleared C4250 under MSVC (Issue 412)
Diffstat (limited to 'esign.h')
-rw-r--r--esign.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/esign.h b/esign.h
index 4ea631a8..dcda42c4 100644
--- a/esign.h
+++ b/esign.h
@@ -85,6 +85,14 @@ public:
void Initialize(RandomNumberGenerator &rng, unsigned int modulusBits)
{GenerateRandomWithKeySize(rng, modulusBits);}
+ // Squash Visual Studio C4250 warning
+ void Save(BufferedTransformation &bt) const
+ {BEREncode(bt);}
+
+ // Squash Visual Studio C4250 warning
+ void Load(BufferedTransformation &bt)
+ {BERDecode(bt);}
+
void BERDecode(BufferedTransformation &bt);
void DEREncode(BufferedTransformation &bt) const;