aboutsummaryrefslogtreecommitdiffstats
path: root/src/visibility.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-02-06 15:58:24 +0000
committerWerner Koch <[email protected]>2024-02-06 15:58:24 +0000
commit1fdd8749014cf390d6ea9dd4350146473362044e (patch)
tree194f38937264bbb11864e4623cc17bf7a9e74a1e /src/visibility.h
parentargparser: Implement a command mode. (diff)
downloadlibgpg-error-1fdd8749014cf390d6ea9dd4350146473362044e.tar.gz
libgpg-error-1fdd8749014cf390d6ea9dd4350146473362044e.zip
core: New function gpgrt_wipememory.
* src/init.c (_gpgrt_wipememory): New. * src/visibility.c (gpgrt_wipememory): New. * src/visibility.h: Add it. * src/gpg-error.def.in: Ditto. * src/gpg-error.vers: Ditto. -- GnuPG-bug-id: 6954
Diffstat (limited to 'src/visibility.h')
-rw-r--r--src/visibility.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/visibility.h b/src/visibility.h
index dfdcad1..75aec0d 100644
--- a/src/visibility.h
+++ b/src/visibility.h
@@ -159,6 +159,7 @@ MARK_VISIBLE (gpgrt_calloc)
MARK_VISIBLE (gpgrt_strdup)
MARK_VISIBLE (gpgrt_strconcat)
MARK_VISIBLE (gpgrt_free)
+MARK_VISIBLE (gpgrt_wipememory)
MARK_VISIBLE (gpgrt_getenv)
MARK_VISIBLE (gpgrt_setenv)
MARK_VISIBLE (gpgrt_mkdir)
@@ -345,6 +346,7 @@ MARK_VISIBLE (gpgrt_absfnameconcat)
#define gpgrt_strdup _gpgrt_USE_UNDERSCORED_FUNCTION
#define gpgrt_strconcat _gpgrt_USE_UNDERSCORED_FUNCTION
#define gpgrt_free _gpgrt_USE_UNDERSCORED_FUNCTION
+#define gpgrt_wipememory _gpgrt_USE_UNDERSCORED_FUNCTION
#define gpgrt_getenv _gpgrt_USE_UNDERSCORED_FUNCTION
#define gpgrt_setenv _gpgrt_USE_UNDERSCORED_FUNCTION
#define gpgrt_mkdir _gpgrt_USE_UNDERSCORED_FUNCTION