mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
added parsing of short invites in connect friend wizard (not working yet)
This commit is contained in:
parent
3a799bae37
commit
4bd5aaa9b2
6 changed files with 69 additions and 24 deletions
|
@ -36,7 +36,7 @@ struct RsPeerDetails;
|
|||
class RsCertificate
|
||||
{
|
||||
public:
|
||||
typedef enum { RS_CERTIFICATE_OLD_FORMAT, RS_CERTIFICATE_RADIX } Format;
|
||||
typedef enum { RS_CERTIFICATE_OLD_FORMAT, RS_CERTIFICATE_RADIX, RS_CERTIFICATE_SHORT_RADIX } Format;
|
||||
|
||||
/**
|
||||
* @brief Create certificate object from certificate string
|
||||
|
@ -99,8 +99,7 @@ public:
|
|||
|
||||
private:
|
||||
// new radix format
|
||||
static bool cleanCertificate( const std::string& input,
|
||||
std::string& output, int&);
|
||||
static bool cleanRadix64( const std::string& input, std::string& output, int&);
|
||||
|
||||
static void scan_ip( const std::string& ip_string, unsigned short port,
|
||||
unsigned char *destination_memory );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue