diff --git a/utils/s2n_init.c b/utils/s2n_init.c index b8a71a653d5..9c65cb6fa37 100644 --- a/utils/s2n_init.c +++ b/utils/s2n_init.c @@ -45,6 +45,12 @@ int s2n_disable_atexit(void) return S2N_SUCCESS; } +int s2n_enable_atexit(void) +{ + atexit_cleanup = true; + return S2N_SUCCESS; +} + int s2n_init(void) { /* USAGE-GUIDE says s2n_init MUST NOT be called more than once