Avoid duplicate TLS stub error symbol
ober
8bbb9af4e790dfd98fabd9bfeee6d9ca79601864
--- a/support/jemacs_tls_stubs.c +++ b/support/jemacs_tls_stubs.c @@ -2,23 +2,6 @@ #include <stddef.h> #include <stdint.h> -#include <string.h> - -size_t jerboa_last_error(uint8_t *buf, size_t len) { - const char *msg = "TLS not available in jemacs test stub"; - size_t msg_len = strlen(msg); - size_t copy_len = msg_len; - - if (len == 0) { - return msg_len; - } - if (copy_len >= len) { - copy_len = len - 1; - } - memcpy(buf, msg, copy_len); - buf[copy_len] = 0; - return copy_len; -} uint64_t jerboa_tls_server_new(const char *cert, const char *key) { (void)cert;