aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-13 20:19:28 +0000
committerlloyd <[email protected]>2008-10-13 20:19:28 +0000
commit9a669d9c4de4122d459d9785ae8645bdaf6bade2 (patch)
tree271272e58b18559b8fe81d63722f0f388bb4997e /src
parente21ac3a33cde261736529fed8a1f34b2a1aaf236 (diff)
Remove spurious trailing ; after blocks
Diffstat (limited to 'src')
-rw-r--r--src/cert/cvc/eac_asn_obj.h3
-rw-r--r--src/core/rng.h2
-rw-r--r--src/pubkey/ecc_key/ecc_key.h2
-rw-r--r--src/pubkey/ecdsa/ecdsa.h4
-rw-r--r--src/pubkey/eckaeg/eckaeg.h6
5 files changed, 9 insertions, 8 deletions
diff --git a/src/cert/cvc/eac_asn_obj.h b/src/cert/cvc/eac_asn_obj.h
index 43210e761..61a204eff 100644
--- a/src/cert/cvc/eac_asn_obj.h
+++ b/src/cert/cvc/eac_asn_obj.h
@@ -92,7 +92,8 @@ class BOTAN_DLL EAC_Time : public ASN1_Object
//EAC_Time(const std::string& = "");
EAC_Time(const std::string&, ASN1_Tag = ASN1_Tag(0));
EAC_Time(u32bit year, u32bit month, u32bit day, ASN1_Tag = ASN1_Tag(0));
- virtual ~EAC_Time(){};
+
+ virtual ~EAC_Time() {}
private:
SecureVector<byte> encoded_eac_time() const;
bool passes_sanity_check() const;
diff --git a/src/core/rng.h b/src/core/rng.h
index 6a8ce63b2..1125d29a1 100644
--- a/src/core/rng.h
+++ b/src/core/rng.h
@@ -94,7 +94,7 @@ class BOTAN_DLL Null_RNG : public RandomNumberGenerator
{
public:
void randomize(byte[], u32bit) { throw PRNG_Unseeded("Null_RNG"); }
- void clear() throw() {};
+ void clear() throw() {}
std::string name() const { return "Null_RNG"; }
bool is_seeded() const { return false; }
diff --git a/src/pubkey/ecc_key/ecc_key.h b/src/pubkey/ecc_key/ecc_key.h
index b2ca7dbcf..cb8f391b9 100644
--- a/src/pubkey/ecc_key/ecc_key.h
+++ b/src/pubkey/ecc_key/ecc_key.h
@@ -1,7 +1,7 @@
/*************************************************
* ECDSA Header File *
* (C) 2007 Falko Strenzke, FlexSecure GmbH *
-* Manuel hartl, FlexSecure GmbH *
+* Manuel Hartl, FlexSecure GmbH *
* (C) 2008 Jack Lloyd *
*************************************************/
diff --git a/src/pubkey/ecdsa/ecdsa.h b/src/pubkey/ecdsa/ecdsa.h
index 4e9634f05..8176f4447 100644
--- a/src/pubkey/ecdsa/ecdsa.h
+++ b/src/pubkey/ecdsa/ecdsa.h
@@ -1,7 +1,7 @@
/*************************************************
* ECDSA Header File *
* (C) 2007 Falko Strenzke, FlexSecure GmbH *
-* Manuel hartl, FlexSecure GmbH *
+* Manuel Hartl, FlexSecure GmbH *
* (C) 2008 Jack Lloyd *
*************************************************/
@@ -43,7 +43,7 @@ class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey,
* @param sig_len the number of bytes in the signature byte array
*/
bool verify(const byte message[], u32bit mess_len,
- const byte signature [], u32bit sig_len) const;
+ const byte signature[], u32bit sig_len) const;
/**
* Default constructor. Use this one if you want to later fill
diff --git a/src/pubkey/eckaeg/eckaeg.h b/src/pubkey/eckaeg/eckaeg.h
index 476ee6e70..609b13d79 100644
--- a/src/pubkey/eckaeg/eckaeg.h
+++ b/src/pubkey/eckaeg/eckaeg.h
@@ -1,7 +1,7 @@
/*************************************************
* ECKAEG Header File *
* (C) 2007 Falko Strenzke, FlexSecure GmbH *
-* Manuel hartl, FlexSecure GmbH *
+* Manuel Hartl, FlexSecure GmbH *
* (C) 2008 Jack Lloyd *
*************************************************/
@@ -24,7 +24,7 @@ class BOTAN_DLL ECKAEG_PublicKey : public virtual EC_PublicKey
* Default constructor. Use this one if you want to later fill
* this object with data from an encoded key.
*/
- ECKAEG_PublicKey() {};
+ ECKAEG_PublicKey() {}
/**
* Construct a public key from a given public point.
@@ -99,7 +99,7 @@ class BOTAN_DLL ECKAEG_PrivateKey : public ECKAEG_PublicKey,
*/
ECKAEG_PrivateKey() {}
ECKAEG_PrivateKey(ECKAEG_PrivateKey const& other);
- ECKAEG_PrivateKey const& operator= (ECKAEG_PrivateKey const& rhs);
+ ECKAEG_PrivateKey const& operator=(ECKAEG_PrivateKey const& rhs);
void PKCS8_load_hook(bool = false);