mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
crypto: fix certificate chain export
This commit is contained in:
1 parent
f61c2a234c
commit
bdbc66e0b0
1 file changed
+2
-1
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user