diff options
author | lloyd <[email protected]> | 2010-02-24 02:00:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-24 02:00:52 +0000 |
commit | 89b3f108223258ce0680071ce8a5736a6699c131 (patch) | |
tree | a92c044094d96e027c11491c4308c7d3ea53c1bb /src/cert/cvc/cvc_req.cpp | |
parent | 007b30735cadd163dce275fcd5b7706c84eeb2b6 (diff) |
Small cleanups in CVC. Reduce use of assert. Remove UTF-8 chars
Diffstat (limited to 'src/cert/cvc/cvc_req.cpp')
-rw-r--r-- | src/cert/cvc/cvc_req.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/cert/cvc/cvc_req.cpp b/src/cert/cvc/cvc_req.cpp index 9f49168b3..78dbdea52 100644 --- a/src/cert/cvc/cvc_req.cpp +++ b/src/cert/cvc/cvc_req.cpp @@ -10,19 +10,17 @@ #include <botan/ber_dec.h> #include <botan/pem.h> #include <botan/parsing.h> -#include <assert.h> #include <botan/cvc_key.h> #include <botan/oids.h> #include <botan/look_pk.h> #include <botan/cvc_req.h> -#include <botan/freestore.h> namespace Botan { bool EAC1_1_Req::operator==(EAC1_1_Req const& rhs) const { - return (this->tbs_data() == rhs.tbs_data() - && this->get_concat_sig() == rhs.get_concat_sig()); + return (this->tbs_data() == rhs.tbs_data() && + this->get_concat_sig() == rhs.get_concat_sig()); } void EAC1_1_Req::force_decode() @@ -36,10 +34,9 @@ void EAC1_1_Req::force_decode() .end_cons() .decode(m_chr) .verify_end(); + if(cpi != 0) - { - throw Decoding_Error("EAC1_1 request´s cpi was not 0"); - } + throw Decoding_Error("EAC1_1 requests cpi was not 0"); // FIXME: No EAC support in ECDSA #if 0 |