From 24f4884cdf5b4a68a3996238995ac0846dae9126 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Sat, 27 Nov 2021 20:53:15 +0300 Subject: [PATCH] const variant --- src/bignum.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/bignum.h b/src/bignum.h index d5927d3..acba29a 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -468,7 +468,11 @@ public: return ToString(16); } - BIGNUM* get() const { + const BIGNUM* get() const { + return bn; + } + + BIGNUM* get() { return bn; } -- 1.7.1