Added const overload for certificateException::getCertificate().
This commit is contained in:
parent
265baf17aa
commit
d2f4436a5c
@ -70,6 +70,12 @@ shared_ptr <certificate> certificateException::getCertificate()
|
||||
}
|
||||
|
||||
|
||||
shared_ptr <const certificate> certificateException::getCertificate() const
|
||||
{
|
||||
return m_cert;
|
||||
}
|
||||
|
||||
|
||||
} // cert
|
||||
} // security
|
||||
} // vmime
|
||||
|
@ -73,6 +73,12 @@ public:
|
||||
*/
|
||||
shared_ptr <certificate> getCertificate();
|
||||
|
||||
/** Returns the certificate on which the problem occured.
|
||||
*
|
||||
* @return certificate
|
||||
*/
|
||||
shared_ptr <const certificate> getCertificate() const;
|
||||
|
||||
private:
|
||||
|
||||
shared_ptr <certificate> m_cert;
|
||||
|
Loading…
Reference in New Issue
Block a user