Skip to content
Snippets Groups Projects
Commit 264962a9 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

crypto: make cert accessible for now

parent 97a7963f
Branches
Tags
No related merge requests found
...@@ -126,10 +126,10 @@ struct Certificate : public Serializable { ...@@ -126,10 +126,10 @@ struct Certificate : public Serializable {
void pack(Blob& b) const override; void pack(Blob& b) const override;
void unpack(Blob::const_iterator& begin, Blob::const_iterator& end) override; void unpack(Blob::const_iterator& begin, Blob::const_iterator& end) override;
gnutls_x509_crt_t cert {};
private: private:
Certificate(const Certificate&) = delete; Certificate(const Certificate&) = delete;
Certificate& operator=(const Certificate&) = delete; Certificate& operator=(const Certificate&) = delete;
gnutls_x509_crt_t cert {};
friend dht::crypto::Identity dht::crypto::generateIdentity(const std::string&, dht::crypto::Identity); friend dht::crypto::Identity dht::crypto::generateIdentity(const std::string&, dht::crypto::Identity);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment