#include <openssl/ssl.h>
int main() { SSL_library_init();
return 0;
}
in
time for i in `seq 1 1000`; do ./a.out; done
takes 15 seconds for me due to the FIPS_selftest() call. This is just 15ms per process start, but it adds up if you have a workload where you're quickly spawning many processes.
From a quick isolated test, running
#include <openssl/ssl.h>
SSL_library_ init();
int main() {
return 0;
}
in
time for i in `seq 1 1000`; do ./a.out; done
takes 15 seconds for me due to the FIPS_selftest() call. This is just 15ms per process start, but it adds up if you have a workload where you're quickly spawning many processes.