diff options
4 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx index f1c830ad3172..96ad4ac3c8fe 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -330,7 +330,7 @@ uno::Sequence< uno::Reference < XCertificate > > SecurityEnvironment_MSCryptImpl { sal_Int32 length ; X509Certificate_MSCryptImpl* xcert ; - std::list< X509Certificate_MSCryptImpl* > certsList ; + std::vector< X509Certificate_MSCryptImpl* > certsList ; PCCERT_CONTEXT pCertContext = nullptr; //firstly, we try to find private keys in given key store. diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx index 0c89f0abd696..2d7c1e49bc8e 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx @@ -41,7 +41,7 @@ #include <com/sun/star/security/CertificateValidity.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> -#include <list> +#include <vector> #include <xmlsec-wrapper.h> #include <sal/types.h> diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx index c65d8012af2a..03ad4c11487e 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx @@ -278,7 +278,7 @@ SecurityEnvironment_NssImpl::getPersonalCertificates() { sal_Int32 length ; X509Certificate_NssImpl* xcert ; - std::list< X509Certificate_NssImpl* > certsList ; + std::vector< X509Certificate_NssImpl* > certsList ; updateSlots(); //firstly, we try to find private keys in slot diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx index 058f990edb99..9bc2a4f0236b 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx @@ -35,7 +35,7 @@ #include <keythi.h> #include <certt.h> -#include <list> +#include <vector> #include <xmlsec-wrapper.h> @@ -50,14 +50,14 @@ class SecurityEnvironment_NssImpl : public ::cppu::WeakImplHelper< { private: - std::list< PK11SlotInfo* > m_Slots; + std::vector< PK11SlotInfo* > m_Slots; /// The last used certificate which has the private key for signing. css::uno::Reference<css::security::XCertificate> m_xSigningCertificate; osl::Mutex m_mutex; CERTCertDBHandle* m_pHandler ; - std::list< PK11SymKey* > m_tSymKeyList ; + std::vector< PK11SymKey* > m_tSymKeyList ; public: SecurityEnvironment_NssImpl(); |