crypto: fix certificate chain export

This commit is contained in:
Adrien Béraud committed 2015-04-24 15:56:31 -04:00
1 parent f61c2a234c
commit bdbc66e0b0
1 file changed
+2 -1
+2 -1
View File
@@ -450,7 +450,8 @@ std::string
Certificate::toString() const
{
std::ostringstream ss;
while (const Certificate* crt = this) {
const Certificate* crt = this;
while (crt) {
std::string str;
size_t buf_sz = 8192;
str.resize(buf_sz);