diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-03-05 15:05:29 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-03-05 15:05:29 +0000 |
commit | 3c8abbf103555809d110c21f89de60869a4a6bea (patch) | |
tree | 71beab86d7d0e6fc143a6d5c55a25cc2a75e0b6f /test/ossl_x509crl.rb | |
parent | 59dd8c5696d83aff78c506d2a161ea4ffb404088 (diff) | |
download | ruby-openssl-history-3c8abbf103555809d110c21f89de60869a4a6bea.tar.gz |
* WARNING! All to_str methods are not used any longer (use to_text instead)
* made an aliases to_pem as to_s
* more relaxed params checking - everywhere where string was needed it is OK that obj implements to_s method
Diffstat (limited to 'test/ossl_x509crl.rb')
-rwxr-xr-x | test/ossl_x509crl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ossl_x509crl.rb b/test/ossl_x509crl.rb index e885447..01e8091 100755 --- a/test/ossl_x509crl.rb +++ b/test/ossl_x509crl.rb @@ -8,7 +8,7 @@ include PKey p ca = Certificate.new(File.open("./cacert.pem").read) p key = ca.public_key p crl = CRL.new(File.open("./01crl.pem").read) -p crl.issuer.to_str +p crl.issuer.to_s p crl.verify key p crl.verify RSA.new(1024) crl.revoked.each {|rev| p rev.time} |