From 264962a9ddb530918cf84d3617ec44cb30e38afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Thu, 20 Nov 2014 15:59:16 -0500
Subject: [PATCH] crypto: make cert accessible for now

---
 include/dhtcpp/crypto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dhtcpp/crypto.h b/include/dhtcpp/crypto.h
index 5b0606f2..2171e103 100644
--- a/include/dhtcpp/crypto.h
+++ b/include/dhtcpp/crypto.h
@@ -126,10 +126,10 @@ struct Certificate : public Serializable {
     void pack(Blob& b) const override;
     void unpack(Blob::const_iterator& begin, Blob::const_iterator& end) override;
 
+    gnutls_x509_crt_t cert {};
 private:
     Certificate(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);
 };
-- 
GitLab