diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 21:01:04 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 21:01:04 +0000 |
| commit | c5105bb1f8f3f914224e1e1b50622bfb69d06e66 (patch) | |
| tree | 3c270657a57848c3fa471111865d1d9c4d4a682c | |
| parent | 14322288c896326e4621037ed9668d315bc34d60 (diff) | |
| download | ruby-c5105bb1f8f3f914224e1e1b50622bfb69d06e66.tar.gz ruby-c5105bb1f8f3f914224e1e1b50622bfb69d06e66.tar.xz ruby-c5105bb1f8f3f914224e1e1b50622bfb69d06e66.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@8223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | ext/openssl/ossl_engine.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Mar 31 06:00:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * 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.) + Wed Mar 30 17:41:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to create diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index 71ab37322..5b58c4f1e 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 */ } |
