mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
* include/ruby/ruby.h (rb_check_safe_str): deprecated.
* ext/openssl/ossl_x509store.c (ossl_x509store_add_{file,path}): replaced deprecated funtion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4155811dc1
commit
19b24f499b
4 changed files with 11 additions and 4 deletions
|
@ -40,7 +40,7 @@ module OpenSSL
|
|||
super(name, data.first)
|
||||
}
|
||||
}
|
||||
singleton = (class <<klass; self; end)
|
||||
singleton = (class << klass; self; end)
|
||||
singleton.class_eval{
|
||||
define_method(:digest){|data| Digest.digest(name, data) }
|
||||
define_method(:hexdigest){|data| Digest.hexdigest(name, data) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue