aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cert/x509/ocsp.h2
-rw-r--r--src/lib/utils/http_util/http_util.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cert/x509/ocsp.h b/src/lib/cert/x509/ocsp.h
index b2a06b9a4..2a4866455 100644
--- a/src/lib/cert/x509/ocsp.h
+++ b/src/lib/cert/x509/ocsp.h
@@ -40,6 +40,8 @@ class BOTAN_DLL Request
class BOTAN_DLL Response
{
public:
+ Response() {}
+
Response(const Certificate_Store& trusted_roots,
const std::vector<byte>& response);
diff --git a/src/lib/utils/http_util/http_util.h b/src/lib/utils/http_util/http_util.h
index d024add4d..56cf0687b 100644
--- a/src/lib/utils/http_util/http_util.h
+++ b/src/lib/utils/http_util/http_util.h
@@ -22,6 +22,8 @@ namespace HTTP {
struct Response
{
public:
+ Response() : m_status_code(0), m_status_message("Uninitialized") {}
+
Response(unsigned int status_code, const std::string& status_message,
const std::vector<byte>& body,
const std::map<std::string, std::string>& headers) :