mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
aab0cf195c
commit
1928aa3c93
2 changed files with 7 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue