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:
csoler 2013-07-06 21:25:07 +00:00
parent 9cfce22f88
commit 975e0d01fb

View file

@ -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 ;
} }