Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
fix #2 with explicit reference for certificate in RCurl
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Jul 15, 2015
1 parent b388463 commit ede3af4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/fb_init.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ fbad_request <- function(path, method = c('GET', 'POST', 'DELETE'), params, debu
.params = params,
.opts = curlOptions(
headerfunction = h$update,
verbose = debug,
writefunc = b$update))),
verbose = debug,
writefunc = b$update,
cainfo = system.file(
'CurlSSL',
'cacert.pem',
package = 'RCurl')))),
error = function(e) e)

## remove token from params if printed for debugging purposes
Expand Down

0 comments on commit ede3af4

Please sign in to comment.