summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/X509Cert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbedTLS++/X509Cert.cpp')
-rw-r--r--src/mbedTLS++/X509Cert.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mbedTLS++/X509Cert.cpp b/src/mbedTLS++/X509Cert.cpp
index e7484af3b..0d901e0e3 100644
--- a/src/mbedTLS++/X509Cert.cpp
+++ b/src/mbedTLS++/X509Cert.cpp
@@ -31,11 +31,8 @@ cX509Cert::~cX509Cert()
int cX509Cert::Parse(const void * a_CertContents, size_t a_Size)
{
// mbedTLS requires that PEM-encoded data is passed including the terminating NUL byte,
- // and DER-encoded data is decoded properly even with an extra trailing NUL byte, so we simply add one to everything:
+ // and DER-encoded data is decoded properly even with an extra trailing NUL byte, so we simply add one to
+ // everything:
AString certContents(static_cast<const char *>(a_CertContents), a_Size);
return mbedtls_x509_crt_parse(&m_Cert, reinterpret_cast<const unsigned char *>(certContents.data()), a_Size + 1);
}
-
-
-
-