about summary refs log tree commit diff
path: root/shared/systemd/src/basic/hexdecoct.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-07-31 10:52:41 +0200
committerMichael Biebl <biebl@debian.org>2019-07-31 10:52:41 +0200
commit3a99ba5fd066fe42bd5461360a7411766496619c (patch)
treeb43863fbe867d7b0f9f9032fd40664c521c88fcb /shared/systemd/src/basic/hexdecoct.h
parent13cfe714153013158bdf3e74ab58ab713a04223c (diff)
parent2e5fa45ddfbb5cffa1e78221f1cea706e2f298af (diff)
Update upstream source from tag 'upstream/1.19.90'
Update to upstream version '1.19.90'
with Debian dir 6d1a5b9902866beee1365904d425141b5d4c944c
Diffstat (limited to 'shared/systemd/src/basic/hexdecoct.h')
-rw-r--r--shared/systemd/src/basic/hexdecoct.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/systemd/src/basic/hexdecoct.h b/shared/systemd/src/basic/hexdecoct.h
index fa6013ee..dfdff1e9 100644
--- a/shared/systemd/src/basic/hexdecoct.h
+++ b/shared/systemd/src/basic/hexdecoct.h
@@ -18,7 +18,10 @@ char hexchar(int x) _const_;
 int unhexchar(char c) _const_;
 
 char *hexmem(const void *p, size_t l);
-int unhexmem(const char *p, size_t l, void **mem, size_t *len);
+int unhexmem_full(const char *p, size_t l, bool secure, void **mem, size_t *len);
+static inline int unhexmem(const char *p, size_t l, void **mem, size_t *len) {
+        return unhexmem_full(p, l, false, mem, len);
+}
 
 char base32hexchar(int x) _const_;
 int unbase32hexchar(char c) _const_;