Fix hex_to_bytes and add it to common utils.

This commit is contained in:
Milan Broz
2012-06-18 17:09:48 +02:00
parent c0a5293435
commit a9d9a2ad44
8 changed files with 59 additions and 62 deletions

View File

@@ -43,4 +43,6 @@ void *crypt_safe_alloc(size_t size);
void crypt_safe_free(void *data);
void *crypt_safe_realloc(void *data, size_t size);
ssize_t crypt_hex_to_bytes(const char *hex, char **result, int safe_alloc);
#endif /* _UTILS_CRYPT_H */