Skip to content

Commit

Permalink
Remove use of specific SSL version and lets curl figure out best
Browse files Browse the repository at this point in the history
As not all php versions supports all constants it is better then trying to force TLS level.
  • Loading branch information
andrerom committed Jan 9, 2015
1 parent 1972608 commit 0a9bc13
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bin/postComment.php
Expand Up @@ -5,7 +5,6 @@

$ch = curl_init( "https://api.github.com/repos/ezsystems/$argv[1]/issues/$argv[2]/comments" );

curl_setopt( $ch, CURLOPT_SSLVERSION, 3 );
curl_setopt( $ch, CURLOPT_HEADER, true );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "ezrobot PR CodeSniffer" );
Expand Down
1 change: 0 additions & 1 deletion bin/setCommitStatus.php
Expand Up @@ -12,7 +12,6 @@

$ch = curl_init( "https://api.github.com/repos/ezsystems/$repo/statuses/$sha1" );

curl_setopt( $ch, CURLOPT_SSLVERSION, 3 );
curl_setopt( $ch, CURLOPT_HEADER, true );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "ezrobot" );
Expand Down

0 comments on commit 0a9bc13

Please sign in to comment.