diff options
author | Werner Koch <[email protected]> | 2024-02-06 15:58:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-02-06 15:58:24 +0000 |
commit | 1fdd8749014cf390d6ea9dd4350146473362044e (patch) | |
tree | 194f38937264bbb11864e4623cc17bf7a9e74a1e /src/gpg-error.h.in | |
parent | argparser: Implement a command mode. (diff) | |
download | libgpg-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/gpg-error.h.in')
-rw-r--r-- | src/gpg-error.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index 969076c..fcf4eb6 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -472,6 +472,7 @@ void *gpgrt_calloc (size_t n, size_t m); char *gpgrt_strdup (const char *string); char *gpgrt_strconcat (const char *s1, ...) GPGRT_ATTR_SENTINEL(0); void gpgrt_free (void *a); +void gpgrt_wipememory (void *ptr, size_t len); /* |