projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add strict checks to hex to binary conversions.
[tinc]
/
lib
/
utils.h
diff --git
a/lib/utils.h
b/lib/utils.h
index
f6ff705
..
2e4fcf8
100644
(file)
--- a/
lib/utils.h
+++ b/
lib/utils.h
@@
-21,7
+21,7
@@
#ifndef __TINC_UTILS_H__
#define __TINC_UTILS_H__
-extern
void
hex2bin(char *src, char *dst, int length);
+extern
bool
hex2bin(char *src, char *dst, int length);
extern void bin2hex(char *src, char *dst, int length);
#ifdef HAVE_MINGW