summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_engine.c
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 21:01:04 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 21:01:04 +0000
commitfc3e402ddedc3b7d643ba25363b22f102e9ede3c (patch)
tree3c270657a57848c3fa471111865d1d9c4d4a682c /ext/openssl/ossl_engine.c
parent7f6e93fd624cfe1a5078dc556c12ccf3e1ca298f (diff)
* 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/trunk@8223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_engine.c')
-rw-r--r--ext/openssl/ossl_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c
index 71ab373..5b58c4f 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 */
}