mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-18 03:19:30 -04:00
This should fix the bug with copypasting certifcates.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fac2a1cb83
commit
2f7fb3690f
1 changed files with 10 additions and 2 deletions
|
@ -254,8 +254,16 @@ std::string cleanUpCertificate(std::string badCertificate)
|
||||||
currBadCertIdx++;
|
currBadCertIdx++;
|
||||||
|
|
||||||
}
|
}
|
||||||
cleanCertificate[currCleanCertIdx]='\n';
|
if(cleanCertificate[currCleanCertIdx-1]!='\n')
|
||||||
currCleanCertIdx++;
|
{
|
||||||
|
cleanCertificate[currCleanCertIdx]='\n';
|
||||||
|
currCleanCertIdx++;
|
||||||
|
// std::cerr<<"zeeeee"<<std::endl;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// std::cerr<<"zooooo"<<std::endl;
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
Copying the begining part of the certificate end tag. Copying
|
Copying the begining part of the certificate end tag. Copying
|
||||||
-----END part of the tag.
|
-----END part of the tag.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue