Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Thu, 29 Jul 2010 13:46:40 +0000 nahi <nahi@b2dd03c8-39d4-4d8f-98ff-82…

…3fe69b080e>

 merge revision(s) 28784:
 ?\012
 	* lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert): wrongly
 	  created dummy SSL certificate with version == 3 (no such version) and
 	  serial == 0 (must be >0).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>



git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@29858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit b6ac0854314edb1b87acc20de8517529f0254aa9 1 parent 8cb1d34
@shyouhei shyouhei authored
Showing with 9 additions and 3 deletions.
  1. +6 −0 ChangeLog
  2. +2 −2 lib/webrick/ssl.rb
  3. +1 −1  version.h
View
6 ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 29 22:43:57 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
+
+ * lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert): wrongly
+ created dummy SSL certificate with version == 3 (no such version) and
+ serial == 0 (must be >0).
+
Sat Jul 24 15:44:29 2010 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole.c (fev_initialize): initialize pTypeInfo.
View
4 lib/webrick/ssl.rb
@@ -50,8 +50,8 @@ def create_self_signed_cert(bits, cn, comment)
end
}
cert = OpenSSL::X509::Certificate.new
- cert.version = 3
- cert.serial = 0
+ cert.version = 2
+ cert.serial = 1
name = OpenSSL::X509::Name.new(cn)
cert.subject = name
cert.issuer = name
View
2  version.h
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2010-11-22"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20101122
-#define RUBY_PATCHLEVEL 307
+#define RUBY_PATCHLEVEL 308
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
Please sign in to comment.
Something went wrong with that request. Please try again.