aboutsummaryrefslogtreecommitdiffstats
path: root/sample
Commit message (Collapse)AuthorAgeFilesLines
* sample: update obsolete API useky/sample-updatesKazuki Yamaguchi2021-02-253-8/+7
|
* sample: avoid "include OpenSSL"Kazuki Yamaguchi2021-02-255-27/+23
| | | | | | | | It is not a common practice and should not be done since it causes name clash: for example, Digest and Random are provided by other standard libraries of Ruby. Fixes: https://github.com/ruby/openssl/issues/419
* pkey: prefer PKey.read over PKey::RSA.new in docsKazuki Yamaguchi2020-05-135-5/+5
|
* Look up digest by name instead of constantBart de Water2020-04-213-3/+3
|
* Deprecate constant OpenSSL::Digest::Digest and OpenSSL::Cipher::CipherKazuki Yamaguchi2016-07-091-2/+2
| | | | | | Mark OpenSSL::{Digest::Digest,Cipher::Cipher} as deprecated using Module#deprecate_constant. They have been deprecated for years in the documentation.
* Sync with Ruby trunkruby-trunk-ruby-openssl-import-pointreplace-localKazuki Yamaguchi2016-05-3011-0/+774
Add sample/. Copied from sample/openssl/ of Ruby's tree. Sync-with-trunk: r53718