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();