shithub: opusfile

Download patch

ref: 3f54b9ddde0cc11327887c6c207b5c48b3af451d
parent: a7c5b93c2564c82488f270de103f3a9129a9bab0
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Fri Oct 26 16:13:24 EDT 2012

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).

--- a/examples/opusfile_example.c
+++ b/examples/opusfile_example.c
@@ -128,7 +128,7 @@
   }
   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};