mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_digest.c (ossl_digest_initialize): [ruby-dev:25198]
* lib/cgi/session.rb (CGI::Session::initialize): generate new session if given session_id does not exist. [ruby-list:40368] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9d24a847b8
commit
d89b8333c5
22 changed files with 168 additions and 134 deletions
|
@ -253,9 +253,10 @@ static VALUE
|
|||
ossl_engine_set_default(VALUE self, VALUE flag)
|
||||
{
|
||||
ENGINE *e;
|
||||
int f = NUM2INT(flag);
|
||||
|
||||
GetEngine(self, e);
|
||||
ENGINE_set_default(e, NUM2INT(flag));
|
||||
ENGINE_set_default(e, f);
|
||||
|
||||
return Qtrue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue