aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/epee/include/net/http_base.h')
-rw-r--r--contrib/epee/include/net/http_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/epee/include/net/http_base.h b/contrib/epee/include/net/http_base.h
index a66fb7c23..bf6589c92 100644
--- a/contrib/epee/include/net/http_base.h
+++ b/contrib/epee/include/net/http_base.h
@@ -33,6 +33,7 @@
#include <string>
#include <utility>
+#include "memwipe.h"
#include "string_tools.h"
#undef MONERO_DEFAULT_LOG_CATEGORY
@@ -200,6 +201,11 @@ namespace net_utils
this->~http_response_info();
new(this) http_response_info();
}
+
+ void wipe()
+ {
+ memwipe(&m_body[0], m_body.size());
+ }
};
}
}