aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssl/svr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssl/svr.rb')
-rwxr-xr-xtest/ssl/svr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ssl/svr.rb b/test/ssl/svr.rb
index 10a7d2d..0494342 100755
--- a/test/ssl/svr.rb
+++ b/test/ssl/svr.rb
@@ -32,7 +32,7 @@ p [ $OPT_p, $OPT_k, $OPT_c ]
p cert = X509::Certificate.new(File.open($OPT_c).read)
else
cert = X509::Certificate.new
- cert.version = 3
+ cert.version = 2
cert.serial = 0
name = X509::Name.new([["C","CZ"],["O","Ruby"],["CN","Test"]])
cert.subject = name