From 3f54b9ddde0cc11327887c6c207b5c48b3af451d Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" <tterribe@xiph.org> Date: Fri, 26 Oct 2012 20:13:24 -0700 Subject: [PATCH] Remove OP_SSL_SKIP_CERTIFICATE_CHECK from opusfile_example. a7c5b93c flipped the argument to it from true to false, since it made certificate checking actually work. This commit removes the option entirely to avoid encouraging people to use it now that that checking does work. seeking_example still disables checking (since it's not really needed). --- examples/opusfile_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/opusfile_example.c b/examples/opusfile_example.c index b81e5ef..8669ce2 100644 --- a/examples/opusfile_example.c +++ b/examples/opusfile_example.c @@ -128,7 +128,7 @@ int main(int _argc,const char **_argv){ } else{ /*Try to treat the argument as a URL.*/ - of=op_open_url(_argv[1],&ret,OP_SSL_SKIP_CERTIFICATE_CHECK(0),NULL); + of=op_open_url(_argv[1],&ret,NULL); #if 0 if(of==NULL){ OpusFileCallbacks cb={NULL,NULL,NULL,NULL}; -- GitLab