diff options
author | lloyd <[email protected]> | 2010-07-09 20:34:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-07-09 20:34:32 +0000 |
commit | 4d1fe920cd6aa1c3af61cf8232297413908d31de (patch) | |
tree | 32de111ca0e22aebb420b88c2789798b43c8d472 /src/cms | |
parent | a2775c5bd9f6979da3e1981cdb1dec250e274fea (diff) |
Remove unused UI param to CMS_Decoder
Diffstat (limited to 'src/cms')
-rw-r--r-- | src/cms/cms_dec.cpp | 4 | ||||
-rw-r--r-- | src/cms/cms_dec.h | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/cms/cms_dec.cpp b/src/cms/cms_dec.cpp index 038d01869..fdb9a4a54 100644 --- a/src/cms/cms_dec.cpp +++ b/src/cms/cms_dec.cpp @@ -17,8 +17,8 @@ namespace Botan { * CMS_Decoder Constructor */ CMS_Decoder::CMS_Decoder(DataSource& in, const X509_Store& x509store, - User_Interface& ui_ref, Private_Key* key) : - ui(ui_ref), store(x509store) + Private_Key* key) : + store(x509store) { status = GOOD; diff --git a/src/cms/cms_dec.h b/src/cms/cms_dec.h index 53d7114d6..8aa5c0edb 100644 --- a/src/cms/cms_dec.h +++ b/src/cms/cms_dec.h @@ -12,7 +12,6 @@ #include <botan/x509stor.h> #include <botan/pkcs8.h> #include <botan/ber_dec.h> -#include <botan/ui.h> namespace Botan { @@ -39,7 +38,7 @@ class BOTAN_DLL CMS_Decoder void add_key(Private_Key*); - CMS_Decoder(DataSource&, const X509_Store&, User_Interface&, + CMS_Decoder(DataSource&, const X509_Store&, Private_Key* = 0); private: std::string get_passphrase(const std::string&); @@ -48,8 +47,6 @@ class BOTAN_DLL CMS_Decoder void decode_layer(); void decompress(BER_Decoder&); - User_Interface& ui; - X509_Store store; std::vector<std::string> passphrases; std::vector<Private_Key*> keys; |