X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/106201c1f26e92f6e5ec059f02f79dcf59cc9b95..8f1ef5c8e662f79d2b52e82809721ce80157f377:/openwrt/package/mini_httpd/patches/500-matrixssl.patch diff --git a/openwrt/package/mini_httpd/patches/500-matrixssl.patch b/openwrt/package/mini_httpd/patches/500-matrixssl.patch index 54963f363..e2d83af88 100644 --- a/openwrt/package/mini_httpd/patches/500-matrixssl.patch +++ b/openwrt/package/mini_httpd/patches/500-matrixssl.patch @@ -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 );