Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Version 0.9.6Fix optional parameter to SecurityContext setter (#32)
Browse files Browse the repository at this point in the history
* Fix optional parameter to SecurityContext setter

The API of security context changed, and "file" is no longer an optional parameter to .setTrustedCertificates, but mandatory.

* Update pubspec.yaml

* Update CHANGELOG.md

* Update pubspec.yaml

Version 0.9.6
  • Loading branch information
whesse authored Aug 18, 2016
1 parent 3ed8c55 commit e48d4b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.9.6

* Updated the secure networking code to the SDKs version 1.15 SecurityContext api

# 0.9.5+1

* Updated the layout of package contents.
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: http_server
version: 0.9.6-dev
version: 0.9.6
author: Dart Team <misc@dartlang.org>
description: Library of HTTP server classes.
homepage: https://www.github.com/dart-lang/http_server
environment:
sdk: '>=1.0.0 <2.0.0'
sdk: '>=1.15.0 <2.0.0'
dependencies:
mime: '>=0.9.0 <0.10.0'
path: '>=0.9.0 <2.0.0'
Expand Down
2 changes: 1 addition & 1 deletion test/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,5 +310,5 @@ void setupSecure() {
password: 'dartdart');

clientContext = new SecurityContext()
..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem'));
..setTrustedCertificates(localFile('certificates/trusted_certs.pem'));
}

0 comments on commit e48d4b0

Please sign in to comment.