Message ID | 20221213202053.2283426-1-james.hilliard1@gmail.com |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show |
Series | [1/1] mongoose: ensure MG_ENABLE_SSL is always defined | expand |
Hi James, On 13.12.22 15:20, James Hilliard wrote: > This was previously defined in mongoose.h but needs to be > defined in mongoose_interface.c as well after the mongoose 7.8 > update. > > Signed-off-by: James Hilliard <james.hilliard1@gmail.com> > --- > mongoose/mongoose_interface.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c > index 71c394f..c151394 100644 > --- a/mongoose/mongoose_interface.c > +++ b/mongoose/mongoose_interface.c > @@ -33,6 +33,10 @@ > #include "mongoose_multipart.h" > #include "util.h" > > +#ifndef MG_ENABLE_SSL > +#define MG_ENABLE_SSL 0 > +#endif > + > #define MG_PORT "8080" > #define MG_ROOT "." > Reviewedby: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
> This was previously defined in mongoose.h but needs to be > defined in mongoose_interface.c as well after the mongoose 7.8 > update. > Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Applied to swupdate, master, thanks ! Best regards, Stefano Babic
diff --git a/mongoose/mongoose_interface.c b/mongoose/mongoose_interface.c index 71c394f..c151394 100644 --- a/mongoose/mongoose_interface.c +++ b/mongoose/mongoose_interface.c @@ -33,6 +33,10 @@ #include "mongoose_multipart.h" #include "util.h" +#ifndef MG_ENABLE_SSL +#define MG_ENABLE_SSL 0 +#endif + #define MG_PORT "8080" #define MG_ROOT "."
This was previously defined in mongoose.h but needs to be defined in mongoose_interface.c as well after the mongoose 7.8 update. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- mongoose/mongoose_interface.c | 4 ++++ 1 file changed, 4 insertions(+)