aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-08-17 18:16:49 +0930
committerDavid Timber <mieabby@gmail.com>2020-08-17 18:35:31 +0930
commit7bd3eb3b1ad4209ac4cf4b46f849213d46bc33aa (patch)
tree0e7a16fb3d36ada8a2a494f8dc063e8b67350d58 /src/protocol.c
parentd7cc11191dfd3fead5e596fcbc24f40d1317819e (diff)
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
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c6
1 files changed, 6 insertions, 0 deletions
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;