From bcf58c424c91ab8822403b2e23daebf28b80c274 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sun, 30 Jun 2024 21:18:18 +0200 Subject: [PATCH] working on a segfault --- lib/pclsync/pssl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pclsync/pssl.c b/lib/pclsync/pssl.c index 526d5d5..5dd5df8 100644 --- a/lib/pclsync/pssl.c +++ b/lib/pclsync/pssl.c @@ -475,6 +475,7 @@ int psync_ssl_write(void *sslconn, const void *buf, int num) { } void psync_ssl_rand_strong(unsigned char *buf, int num) { + // FIXME: causing segfault if (unlikely(ctr_drbg_random_locked(&psync_mbed_rng, buf, num))) { debug(D_CRITICAL, "could not generate %d random bytes, exiting", num); abort();