From 7bd3eb3b1ad4209ac4cf4b46f849213d46bc33aa Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 17 Aug 2020 18:16:49 +0930 Subject: Employ pthsem ... * Use uint8_t array for hardcoded binary data * Add proone-ipaddr-arr to hardcode DoT servers * Convert X509 data * Brought back M68k and ARC archs just in case * Add CLOCK_REALTIME in prne_mbedtls_entropy_proc_src_f for more entropy * Remove installation of signal handlers. Use sigwait() instead * Bugfix: prne_rnd_anum_str() returned null characters * Add prne_dbgpf() and prne_dbgperr() * prne_assert(): put errno into a register so it's visible in the core dump --- src/protocol.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/protocol.c') diff --git a/src/protocol.c b/src/protocol.c index 97259f4..56d6d90 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -33,6 +33,12 @@ const char *prne_arch_tostr (const prne_arch_t x) { return "ppc"; case PRNE_ARCH_SH4: return "sh4"; + case PRNE_ARCH_M68K: + return "m68k"; + case PRNE_ARCH_ARC: + return "arc"; + case PRNE_ARCH_ARCEB: + return "arceb"; } return NULL; -- cgit