diff options
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx | 6 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 6 |
2 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 2acac2e3a155..de25799d84b8 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: securityenvironment_mscryptimpl.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mt $ $Date: 2004-07-26 07:29:33 $ + * last change: $Author: mmi $ $Date: 2004-08-02 03:32:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1045,7 +1045,7 @@ sal_Int32 SecurityEnvironment_MSCryptImpl :: verifyCertificate( const ::com::sun CertFreeCertificateChain( pChainContext ) ; if( chainStatus == CERT_TRUST_NO_ERROR ) { - validity = ::com::sun::star::security::CertificateValidity::CERT_VALIDITY_VALID ; + validity = !( ::com::sun::star::security::CertificateValidity::CERT_VALIDITY_INVALID ) ; } else { validity = ::com::sun::star::security::CertificateValidity::CERT_VALIDITY_INVALID ; } diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx index 2e26292fe161..6ec45f04c846 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: securityenvironment_nssimpl.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mt $ $Date: 2004-07-26 07:29:33 $ + * last change: $Author: mmi $ $Date: 2004-08-02 03:32:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -742,7 +742,7 @@ sal_Int32 SecurityEnvironment_NssImpl :: verifyCertificate( const ::com::sun::st } if( status == SECSuccess ) { - validity = ::com::sun::star::security::CertificateValidity::CERT_VALIDITY_VALID ; + validity = 0x00000000 ; } else { validity = ::com::sun::star::security::CertificateValidity::CERT_VALIDITY_INVALID ; switch( status ) { |