mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-19 11:51:34 -05: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
@ -254,8 +254,16 @@ std::string cleanUpCertificate(std::string badCertificate)
|
||||
currBadCertIdx++;
|
||||
|
||||
}
|
||||
cleanCertificate[currCleanCertIdx]='\n';
|
||||
currCleanCertIdx++;
|
||||
if(cleanCertificate[currCleanCertIdx-1]!='\n')
|
||||
{
|
||||
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
|
||||
-----END part of the tag.
|
||||
|
Loading…
Reference in New Issue
Block a user