mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 23:49:38 -05: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
@ -370,12 +370,12 @@ bool PGPHandler::GeneratePGPCertificate(const std::string& name, const std::stri
|
||||
}
|
||||
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 ;
|
||||
}
|
||||
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 ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user