From 20f047cd0297ce2a0e05de7ff689cb486529c1c4 Mon Sep 17 00:00:00 2001 From: Cosmin Apreutesei Date: Mon, 9 Dec 2019 17:59:12 +0200 Subject: [PATCH] unimportant --- libcrypto.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libcrypto.lua b/libcrypto.lua index d88c9d7..85c7b1e 100644 --- a/libcrypto.lua +++ b/libcrypto.lua @@ -11,12 +11,10 @@ setmetatable(M, {__index = C}) if not ... then local crypto = M + +--TODO: make loading the default conf file work (might need a rebuild). require'libcrypto_conf_h' -print(crypto.CONF_modules_load_file(nil, nil, - bit.bor( - crypto.CONF_MFLAGS_DEFAULT_SECTION, - crypto.CONF_MFLAGS_IGNORE_MISSING_FILE))) -os.exit() +print(crypto.CONF_modules_load_file(nil, nil, crypto.CONF_MFLAGS_DEFAULT_SECTION) == 1) end