mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Removed automatic cleaning of the certificate in p3Peers::loadDetailsFromStringCert.
Added new button in ConnectFriendWizard for cleaning the certificate. Fixed cleaning: - added blank line after the armor header - moved the checksum to a new line Recompile of the GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1bef23042f
commit
8f0793f071
7 changed files with 192 additions and 84 deletions
|
@ -38,13 +38,16 @@
|
|||
//! ... text stuff .....
|
||||
//!
|
||||
//!-----BEGIN XPGP CERTIFICATE-----
|
||||
//!Version: ...
|
||||
//!
|
||||
//!MIICxQIBADCCAUkCAQAwHhcNMDkwMjI4MTgzODIyWhcNMTQwMjI3MTgzODIyWjCC
|
||||
//! ...more ines here...
|
||||
//!mEuhG8UmDIzC1jeTu8rTMnO+DO3FH/cek1vlfFl4t9g/xktG9U4SPLg=
|
||||
//!=checksum
|
||||
//!-----END XPGP CERTIFICATE-----
|
||||
//!
|
||||
//! In the newer gui version, users send each other almost clean certificates,
|
||||
//! so this functon is used only to avoid possible bugs with line endings
|
||||
std::string cleanUpCertificate(std::string badCertificate);
|
||||
std::string cleanUpCertificate(const std::string& badCertificate);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue