summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-18 11:48:27 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-18 11:48:27 +0100
commit81821868864e19809b373639b8cb78d2acc522a2 (patch)
tree615e82b4a5fdbfc7a74c8d372dd526162dd93576
parent9984f8318ba9999e39cf2f6688bd41408982cca9 (diff)
Comment fixes.
-rw-r--r--src/certificates.cc3
-rw-r--r--src/certificates.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/certificates.cc b/src/certificates.cc
index c03c371b..51d6eac9 100644
--- a/src/certificates.cc
+++ b/src/certificates.cc
@@ -317,6 +317,9 @@ CertificateChain::add (shared_ptr<const Certificate> c)
_certificates.push_back (c);
}
+/** Remove a certificate from the chain.
+ * @param c Certificate to remove.
+ */
void
CertificateChain::remove (shared_ptr<const Certificate> c)
{
diff --git a/src/certificates.h b/src/certificates.h
index 1593ddbc..aba6d5cf 100644
--- a/src/certificates.h
+++ b/src/certificates.h
@@ -42,7 +42,7 @@ namespace dcp {
/** @class Certificate
* @brief A wrapper for an X509 certificate.
*
- * This class can take a Certificate from a file, a string or an OpenSSL X509 object.
+ * This class can take a Certificate from a string or an OpenSSL X509 object.
*/
class Certificate
{