diff options
Diffstat (limited to 'src')
-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; |