Changed m_compress and m_encodeAsOID to mutable. They are presentation details, and passing a const-key or cont-params means they cannot be changed when writing
parent
5b1f23c310
commit
be48625234
|
|
@ -133,7 +133,7 @@ protected:
|
|||
|
||||
OID m_oid; // set if parameters loaded from a recommended curve
|
||||
Integer m_n; // order of base point
|
||||
bool m_compress, m_encodeAsOID;
|
||||
mutable bool m_compress, m_encodeAsOID;
|
||||
mutable Integer m_k; // cofactor
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue