mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
made cert of versions 0.5 and 0.6 incompatible. Removed old cert format parse/display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8c8baae044
commit
affdd49001
4 changed files with 41 additions and 10 deletions
|
@ -108,6 +108,7 @@ QString ConnectFriendWizard::getErrorString(uint32_t error_code)
|
|||
case CERTIFICATE_PARSING_ERROR_INVALID_LOCAL_IP: return tr("Invalid local IP.") ;
|
||||
case CERTIFICATE_PARSING_ERROR_INVALID_CHECKSUM_SECTION: return tr("Invalid checksum section.") ;
|
||||
case CERTIFICATE_PARSING_ERROR_CHECKSUM_ERROR: return tr("Checksum mismatch. Certificate is corrupted.") ;
|
||||
case CERTIFICATE_PARSING_ERROR_WRONG_VERSION: return tr("Certificate has wrong version number. Remember that v0.6 and v0.5 networks are incompatible.") ;
|
||||
case CERTIFICATE_PARSING_ERROR_UNKNOWN_SECTION_PTAG: return tr("Unknown section type found (Certificate might be corrupted).") ;
|
||||
case CERTIFICATE_PARSING_ERROR_MISSING_CHECKSUM: return tr("Missing checksum.") ;
|
||||
|
||||
|
@ -194,9 +195,10 @@ void ConnectFriendWizard::initializePage(int id)
|
|||
cleanfriendCertTimer->setInterval(1000); // 1 second
|
||||
connect(cleanfriendCertTimer, SIGNAL(timeout()), this, SLOT(cleanFriendCert()));
|
||||
|
||||
ui->userCertOldFormatButton->setChecked(true);
|
||||
ui->userCertOldFormatButton->setChecked(false);
|
||||
ui->userCertOldFormatButton->hide() ;
|
||||
|
||||
toggleFormatState(false);
|
||||
toggleFormatState(true);
|
||||
toggleSignatureState(false);
|
||||
updateOwnCert();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue