diff options
author | Jack Lloyd <[email protected]> | 2022-03-09 07:00:21 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2022-03-09 07:00:21 -0500 |
commit | 4cf3e979467673ca2d2ad32ba1bbf33bf8f5e2c9 (patch) | |
tree | 6b1775c60af5b94c6c368e6766780a9e34d2812e /src | |
parent | eaf5e4ea2184f6f179cdbef5790d3ad2dd4c88bf (diff) | |
parent | 8bdfe7c5bfcdda48942ee33f627bb23383571fda (diff) |
Merge GH #2929 More -Wredundant-tag fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/base/symkey.h | 4 | ||||
-rw-r--r-- | src/lib/filters/out_buf.h | 4 | ||||
-rw-r--r-- | src/lib/x509/x509_obj.h | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/base/symkey.h b/src/lib/base/symkey.h index 990c7dde1..091df18fc 100644 --- a/src/lib/base/symkey.h +++ b/src/lib/base/symkey.h @@ -13,6 +13,8 @@ namespace Botan { +class RandomNumberGenerator; + /** * Octet String */ @@ -73,7 +75,7 @@ class BOTAN_PUBLIC_API(2,0) OctetString final * @param rng is a random number generator * @param len is the desired length in bytes */ - OctetString(class RandomNumberGenerator& rng, size_t len); + OctetString(RandomNumberGenerator& rng, size_t len); /** * Create a new OctetString diff --git a/src/lib/filters/out_buf.h b/src/lib/filters/out_buf.h index d6efbdaf2..0f5fc55be 100644 --- a/src/lib/filters/out_buf.h +++ b/src/lib/filters/out_buf.h @@ -14,6 +14,8 @@ #include <deque> namespace Botan { + +class SecureQueue; /** * Container of output buffers for Pipe @@ -26,7 +28,7 @@ class Output_Buffers final size_t get_bytes_read(Pipe::message_id) const; size_t remaining(Pipe::message_id) const; - void add(class SecureQueue*); + void add(SecureQueue*); void retire(); Pipe::message_id message_count() const; diff --git a/src/lib/x509/x509_obj.h b/src/lib/x509/x509_obj.h index 8b11db29b..f121a76fc 100644 --- a/src/lib/x509/x509_obj.h +++ b/src/lib/x509/x509_obj.h @@ -17,6 +17,7 @@ namespace Botan { class Public_Key; class Private_Key; class RandomNumberGenerator; +class PK_Signer; /** * This class represents abstract X.509 signed objects as in the X.500 @@ -59,7 +60,7 @@ class BOTAN_PUBLIC_API(2,0) X509_Object : public ASN1_Object * @param tbs the tbs bits to be signed * @return signed X509 object */ - static std::vector<uint8_t> make_signed(class PK_Signer* signer, + static std::vector<uint8_t> make_signed(PK_Signer* signer, RandomNumberGenerator& rng, const AlgorithmIdentifier& alg_id, const secure_vector<uint8_t>& tbs); |