diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-04-07 16:34:43 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-04-07 16:34:43 +0000 |
commit | bc603852659675cd0c7420dd4d126780f7ba6ee2 (patch) | |
tree | b3d68ace93981e8f961f8b2a3451df3d53eac993 /test/ossl_x509crl.rb | |
parent | fcb0234e46e8fc656748f364148754a1cc80ea4b (diff) | |
download | ruby-openssl-history-bc603852659675cd0c7420dd4d126780f7ba6ee2.tar.gz |
* Macros fixupsossl1-ossl2-branch-point
* X509ExtFactory cleanup
* fixed strptime warning on Linux
* X509::Certificate#version has been changed!
!!! WARNING !!!
x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...)
p x509.version -> 2, means that it is X509v3
!!! WARNING !!!
Diffstat (limited to 'test/ossl_x509crl.rb')
-rwxr-xr-x | test/ossl_x509crl.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ossl_x509crl.rb b/test/ossl_x509crl.rb index 01e8091..7e19ac0 100755 --- a/test/ossl_x509crl.rb +++ b/test/ossl_x509crl.rb @@ -8,6 +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) +puts crl.to_text p crl.issuer.to_s p crl.verify key p crl.verify RSA.new(1024) |