aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-05-01 02:22:54 +0000
committerlloyd <[email protected]>2014-05-01 02:22:54 +0000
commit6472e22b40c1a48847820b856cd8a2e25c981b95 (patch)
tree976156491c1ba087d4fedc1f0f4ba2409293f884 /src/lib
parentd2e86fc7dca835058bcc91ce0fb0cc787383a7bb (diff)
Add default constructors to work around VC2013 issue. Github #17
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) :