Fix segfaults related to copying DH parameters.
[trust_router.git] / include / tr_util.h
index 3b0e597..372c8ec 100644 (file)
@@ -37,8 +37,8 @@
 
 #include <trust_router/tr_versioning.h>
 
-void tr_bin_to_hex(const unsigned char * bin, size_t binlen,
-                   char * hex_out, size_t hex_len);
+TR_EXPORT void tr_bin_to_hex(const unsigned char * bin, size_t binlen,
+                             char * hex_out, size_t hex_len);
 TR_EXPORT int tr_cmp_timespec(struct timespec *ts1, struct timespec *ts2);
 
 #endif /* TR_UTIL_H */