ssl_err_exit() should exit with EXIT_FAILURE
remove comma at the end of enum