Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -urnp dropbear-2020.81/libtomcrypt/makefile_include.mk dropbear-2020.81-patched/libtomcrypt/makefile_include.mk
- *** dropbear-2020.81/libtomcrypt/makefile_include.mk Thu Oct 29 09:35:50 2020
- --- dropbear-2020.81-patched/libtomcrypt/makefile_include.mk Wed Apr 14 13:27:29 2021
- *************** LTC_CFLAGS += -W
- *** 83,89 ****
- # older GCCs can't handle the "rotate with immediate" ROLc/RORc/etc macros
- # define this to help
- LTC_CFLAGS += -DLTC_NO_ROLC
- ! else
- LTC_CFLAGS += -Wextra
- # additional warnings
- LTC_CFLAGS += -Wsystem-headers -Wbad-function-cast -Wcast-align
- --- 83,91 ----
- # older GCCs can't handle the "rotate with immediate" ROLc/RORc/etc macros
- # define this to help
- LTC_CFLAGS += -DLTC_NO_ROLC
- ! endif
- !
- ! ifdef GNUC
- LTC_CFLAGS += -Wextra
- # additional warnings
- LTC_CFLAGS += -Wsystem-headers -Wbad-function-cast -Wcast-align
- diff -urnp dropbear-2020.81/libtommath/Makefile.in dropbear-2020.81-patched/libtommath/Makefile.in
- *** dropbear-2020.81/libtommath/Makefile.in Thu Oct 29 09:35:50 2020
- --- dropbear-2020.81-patched/libtommath/Makefile.in Wed Apr 14 13:39:24 2021
- *************** srcdir=@srcdir@
- *** 7,13 ****
- # So that libtommath can include Dropbear headers for options and m_burn()
- CFLAGS += -I$(srcdir) -I../libtomcrypt/src/headers/ -I$(srcdir)/../libtomcrypt/src/headers/ -I../ -I$(srcdir)/../
- - CFLAGS += -Wno-deprecated
- V = 1
- --- 7,12 ----
- diff -urnp dropbear-2020.81/libtommath/makefile_include.mk dropbear-2020.81-patched/libtommath/makefile_include.mk
- *** dropbear-2020.81/libtommath/makefile_include.mk Thu Oct 29 09:35:50 2020
- --- dropbear-2020.81-patched/libtommath/makefile_include.mk Wed Apr 14 13:40:00 2021
- *************** else
- *** 48,54 ****
- endif
- endif
- - LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow
- # renamed for Dropbear to avoid clash with oss-fuzz $SANITIZER var
- ifdef LTM_SANITIZER
- --- 48,53 ----
- *************** ifdef LTM_SANITIZER
- *** 55,61 ****
- LTM_CFLAGS += -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=float-divide-by-zero
- endif
- ! ifndef NO_ADDTL_WARNINGS
- # additional warnings
- LTM_CFLAGS += -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align
- LTM_CFLAGS += -Wstrict-prototypes -Wpointer-arith
- --- 54,63 ----
- LTM_CFLAGS += -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=float-divide-by-zero
- endif
- ! ifdef GNUC
- ! LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow -Wno-deprecated
- ! else ifdef NO_ADDTL_WARNINGS
- ! LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow -Wno-deprecated
- # additional warnings
- LTM_CFLAGS += -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align
- LTM_CFLAGS += -Wstrict-prototypes -Wpointer-arith
- *************** LTM_CFLAGS += -std=c89 -Wconversion -Wsi
- *** 66,72 ****
- ifeq ($(CONV_WARNINGS), strict)
- LTM_CFLAGS += -DMP_USE_ENUMS -Wc++-compat
- endif
- ! else
- LTM_CFLAGS += -Wsystem-headers
- endif
- --- 68,74 ----
- ifeq ($(CONV_WARNINGS), strict)
- LTM_CFLAGS += -DMP_USE_ENUMS -Wc++-compat
- endif
- ! else ifdef GNUC
- LTM_CFLAGS += -Wsystem-headers
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement