Commit 9efd2773 authored by Micah Anderson's avatar Micah Anderson

add missing x509v3 extension to certs generated for tests

parent 7e672e7c
ruby-http (1.0.2-4) unstable; urgency=medium
* Add missing x509v3 extenions to certs generated for tests
-- Micah Anderson <micah@debian.org> Mon, 05 Dec 2016 21:57:12 -0500
ruby-http (1.0.2-3) unstable; urgency=medium
* Team upload.
......
Index: ruby-http/spec/support/ssl_helper.rb
===================================================================
--- ruby-http.orig/spec/support/ssl_helper.rb 2016-12-05 22:51:31.319414848 -0500
+++ ruby-http/spec/support/ssl_helper.rb 2016-12-05 22:53:22.212685884 -0500
@@ -33,6 +33,8 @@
end
class ChildCertificate < ::CertificateAuthority::Certificate
+ EXTENSIONS = {"extendedKeyUsage" => {"usage" => %w(serverAuth clientAuth)}}
+
def initialize(parent)
super()
@@ -43,7 +45,8 @@
self.parent = parent
- sign!
+ sign!("extensions" => EXTENSIONS)
+
end
def cert
removing_simplecov_html.patch
disable-network-tests.patch
add-missing-x509v3-extensions-in-spec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment