mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 17:04:58 -04:00
fixed mistake in commit 6487
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9cfce22f88
commit
975e0d01fb
1 changed files with 3 additions and 3 deletions
|
@ -370,12 +370,12 @@ bool PGPHandler::GeneratePGPCertificate(const std::string& name, const std::stri
|
||||||
}
|
}
|
||||||
if(email.length() > PGP_CERTIFICATE_LIMIT_MAX_EMAIL_SIZE)
|
if(email.length() > PGP_CERTIFICATE_LIMIT_MAX_EMAIL_SIZE)
|
||||||
{
|
{
|
||||||
errString = std::string("(EE) name in certificate exceeds the maximum allowed email size") ;
|
errString = std::string("(EE) email in certificate exceeds the maximum allowed email size") ;
|
||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
if(email.length() > PGP_CERTIFICATE_LIMIT_MAX_PASSWD_SIZE)
|
if(passphrase.length() > PGP_CERTIFICATE_LIMIT_MAX_PASSWD_SIZE)
|
||||||
{
|
{
|
||||||
errString = std::string("(EE) name in certificate exceeds the maximum allowed name size") ;
|
errString = std::string("(EE) passphrase in certificate exceeds the maximum allowed passphrase size") ;
|
||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue