diff options
author | lloyd <[email protected]> | 2008-06-11 13:32:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-11 13:32:50 +0000 |
commit | f83988fcd5d8a2d6752d5a0b0c4133207737c1c1 (patch) | |
tree | bbe33b2e42bc9614bf2b2b4cd6121586a552ddbc /include | |
parent | 58d72571863987a0f4fc048b1f28619fa0ea798c (diff) |
Move AlgorithmIdentifier comparison ops to alg_id.h
Diffstat (limited to 'include')
-rw-r--r-- | include/alg_id.h | 8 | ||||
-rw-r--r-- | include/asn1_obj.h | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/include/alg_id.h b/include/alg_id.h index 8023beead..8187fc070 100644 --- a/include/alg_id.h +++ b/include/alg_id.h @@ -34,6 +34,14 @@ class BOTAN_DLL AlgorithmIdentifier : public ASN1_Object SecureVector<byte> parameters; }; +/************************************************* +* Comparison Operations * +*************************************************/ +bool BOTAN_DLL operator==(const AlgorithmIdentifier&, + const AlgorithmIdentifier&); +bool BOTAN_DLL operator!=(const AlgorithmIdentifier&, + const AlgorithmIdentifier&); + } #endif diff --git a/include/asn1_obj.h b/include/asn1_obj.h index 22542e913..67645ca08 100644 --- a/include/asn1_obj.h +++ b/include/asn1_obj.h @@ -139,11 +139,6 @@ class BOTAN_DLL AlternativeName : public ASN1_Object /************************************************* * Comparison Operations * *************************************************/ -bool BOTAN_DLL operator==(const AlgorithmIdentifier&, - const AlgorithmIdentifier&); -bool BOTAN_DLL operator!=(const AlgorithmIdentifier&, - const AlgorithmIdentifier&); - bool BOTAN_DLL operator==(const X509_Time&, const X509_Time&); bool BOTAN_DLL operator!=(const X509_Time&, const X509_Time&); bool BOTAN_DLL operator<=(const X509_Time&, const X509_Time&); |