aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ecdsa/ecdsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/ecdsa/ecdsa.h')
-rw-r--r--src/pubkey/ecdsa/ecdsa.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pubkey/ecdsa/ecdsa.h b/src/pubkey/ecdsa/ecdsa.h
index 4b7e7b5b3..9c7492a13 100644
--- a/src/pubkey/ecdsa/ecdsa.h
+++ b/src/pubkey/ecdsa/ecdsa.h
@@ -59,8 +59,8 @@ class ECDSA_PublicKey : public virtual EC_PublicKey,
* @param dom_par the domain parameters associated with this key
* @param public_point the public point defining this key
*/
- ECDSA_PublicKey(EC_Domain_Params const& dom_par, Botan::PointGFp const& public_point); // sets core
-
+ ECDSA_PublicKey(const EC_Domain_Params& dom_par,
+ const PointGFp& public_point); // sets core
ECDSA_PublicKey const& operator= (ECDSA_PublicKey const& rhs);
@@ -104,8 +104,8 @@ class ECDSA_PrivateKey : public ECDSA_PublicKey,
* Default constructor. Use this one if you want to later fill this object with data
* from an encoded key.
*/
- ECDSA_PrivateKey()
- {}
+ ECDSA_PrivateKey() {}
+
/**
* Generate a new private key
* @param the domain parameters to used for this key