aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-16 14:23:08 +0100
committerRiccardo Spagni <ric@spagni.net>2018-02-16 14:23:08 +0100
commit0c711978922ed346f435ddd41147c962acae6ccd (patch)
tree0505231e018b5fe20d27e6ea708e815c58c37881 /contrib/epee/include
parentMerge pull request #3216 (diff)
parentwipeable_string: call memwipe directly (diff)
downloadmonero-0c711978922ed346f435ddd41147c962acae6ccd.tar.xz
Merge pull request #3217
fde4489e wipeable_string: call memwipe directly (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r--contrib/epee/include/wipeable_string.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/epee/include/wipeable_string.h b/contrib/epee/include/wipeable_string.h
index d120112a6..70d1a9586 100644
--- a/contrib/epee/include/wipeable_string.h
+++ b/contrib/epee/include/wipeable_string.h
@@ -58,13 +58,10 @@ namespace epee
wipeable_string &operator=(wipeable_string &&other);
wipeable_string &operator=(const wipeable_string &other);
- static void set_wipe(void *(*f)(void*, size_t)) { wipefunc = f; }
-
private:
void grow(size_t sz, size_t reserved = 0);
private:
std::vector<char> buffer;
- static void *(*wipefunc)(void*, size_t);
};
}