X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/428aafa72aa3857f5d181468cdc1181d444c59e0..bbdc17a343b48290be6be46c77cde11779283a40:/package/mini_httpd/patches/500-matrixssl.patch?ds=sidebyside diff --git a/package/mini_httpd/patches/500-matrixssl.patch b/package/mini_httpd/patches/500-matrixssl.patch index 54963f363..0ab8d6833 100644 --- a/package/mini_httpd/patches/500-matrixssl.patch +++ b/package/mini_httpd/patches/500-matrixssl.patch @@ -14,11 +14,11 @@ diff -ruN mini_httpd-1.19-orig/Makefile mini_httpd-1.19-3/Makefile +#SSL_OBJS = + +# MatrixSSL -+SSL_TREE = -+SSL_DEFS = -DUSE_SSL -DHAVE_MATRIXSSL -+SSL_INC = -+SSL_LIBS = -lmatrixssl -+SSL_OBJS = matrixssl_helper.o ++#SSL_TREE = ++#SSL_DEFS = -DUSE_SSL -DHAVE_MATRIXSSL ++#SSL_INC = ++#SSL_LIBS = -lmatrixssl ++#SSL_OBJS = matrixssl_helper.o -BINDIR = /usr/local/sbin @@ -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 );