Skip to content

Commit

Permalink
Disable old SSL ciphers
Browse files Browse the repository at this point in the history
  • Loading branch information
nugget committed Dec 4, 2014
1 parent 297b405 commit 7a594ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ergkeeper/oauth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ proc get_oauth_token_from_code {code} {
set details ""

::http::register https 443 ::tls::socket
::tls::init -ssl2 0 -ssl3 0 -tls1 1

set query [::http::formatQuery grant_type authorization_code code $code client_id $::config(rkapi_client_id) client_secret $::config(rkapi_client_secret) redirect_uri "$::config(base_url)login"]

Expand Down
1 change: 1 addition & 0 deletions packages/ergkeeper/runkeeper.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ proc runkeeper_request {method {token ""} {body ""}} {

::http::config -useragent "ErgKeeper/1.0"
::http::register https 443 ::tls::socket
::tls::init -ssl2 0 -ssl3 0 -tls1 1

if {$body != ""} {
set fp [::http::geturl $uri -timeout 15000 -headers $headers -query $body -type [runkeeper_content_type $method]]
Expand Down

0 comments on commit 7a594ff

Please sign in to comment.