fix typo (thanks to armcc)
authorNicolas Thill <nico@openwrt.org>
Wed, 5 Oct 2005 15:59:52 +0000 (15:59 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 5 Oct 2005 15:59:52 +0000 (15:59 +0000)
SVN-Revision: 2053

openwrt/package/mini_httpd/patches/500-matrixssl.patch

index 54963f363624388b2ebd86a9b3b05100ef1e1af1..e2d83af88e6744d32e5e267c775ae72282ca491c 100644 (file)
@@ -123,7 +123,7 @@ diff -ruN mini_httpd-1.19-orig/mini_httpd.c mini_httpd-1.19-3/mini_httpd.c
 +# else /* HAVE_OPENSSL */
 +#  ifdef HAVE_MATRIXSSL
 +      matrixSslOpen();
-+      if ( matrixSslReadKeys( &keys, certfile, certfile, NULL, NULL < 0) )
++      if ( matrixSslReadKeys( &keys, certfile, certfile, NULL, NULL ) < 0 )
 +          {
 +          syslog( LOG_CRIT, "can't load certificate and/or private key\n");
 +          (void) fprintf( stderr, "%s: can't load certificate and/or private key\n", argv0 );