emailservices/emailstore/message_store/server/src/ContainerStoreEncryption.cpp
changeset 72 64e38f08e49c
parent 0 8466d47a6819
equal deleted inserted replaced
65:478bc57ad291 72:64e38f08e49c
    72 // FUNCTION: Authenticated
    72 // FUNCTION: Authenticated
    73 // ==========================================================================
    73 // ==========================================================================
    74 TBool CContainerStoreEncryption::Authenticated()
    74 TBool CContainerStoreEncryption::Authenticated()
    75     {
    75     {
    76     //always return true if authentication is not required
    76     //always return true if authentication is not required
    77     return ( iCryptoLibrary != NULL || !iAuthenticationRequired ); 
    77     return ( iCryptoLibrary || !iAuthenticationRequired ); 
    78     } // end Authenticated
    78     } // end Authenticated
    79 
    79 
    80 // ==========================================================================
    80 // ==========================================================================
    81 // FUNCTION: ClearAuthentication
    81 // FUNCTION: ClearAuthentication
    82 // ==========================================================================
    82 // ==========================================================================