From 1928aa3c930993f71d3236c9f0832bc1ad57726c Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Wed, 30 Mar 2005 21:01:04 +0000 Subject: * ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raise error even if the specified engine could not be loaded. (Dynamic engines don't have fixed name to load.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl') diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index 71ab373223..5b58c4f1e6 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -70,7 +70,7 @@ ossl_engine_s_load(int argc, VALUE *argv, VALUE klass) #ifdef HAVE_ENGINE_LOAD_OPENBSD_DEV_CRYPTO OSSL_ENGINE_LOAD_IF_MATCH(openbsd_dev_crypto); #endif - rb_raise(eEngineError, "no such engine `%s'", RSTRING(name)->ptr); + rb_warning("no such engine `%s'", RSTRING(name)->ptr); #endif /* HAVE_ENGINE_LOAD_BUILTIN_ENGINES */ } -- cgit v1.2.3