summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/key_schedule/Makefile
diff options
context:
space:
mode:
authortb <>2026-01-14 17:43:49 +0000
committertb <>2026-01-14 17:43:49 +0000
commitf3b7e1f8d7abce09c15e715e5f167b6f10d127de (patch)
tree3b14bbdf430d1bbfb21ce0f89066574f1394c9d6 /src/regress/lib/libssl/key_schedule/Makefile
parent9061b4381d8ab99d1f141ef03cc52f45c2e7a3bd (diff)
downloadopenbsd-master.tar.gz
openbsd-master.tar.bz2
openbsd-master.zip
stack.c: avoid arithmetic on pointers to voidHEADmaster
In stack.c r1.34 I converted one 'char *' too many to 'void *', thereby relying on a gcc/clang extension which interprets the fictional void type as a type of size 1 (that's what the stack code wants, fortunately). As pointed out in the link below, -Wpointer-arith would have caught this: https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html MSVC flags this as follows: D:\a\portable\portable\crypto\stack\stack.c(211,23): error C2036: 'const void *': unknown size [D:\a\portable\portable\build\crypto\crypto_obj.vcxproj]. Pull in workaround from the portable repo which undoes the char * -> void * conversion. ok jsing millert
Diffstat (limited to 'src/regress/lib/libssl/key_schedule/Makefile')
0 files changed, 0 insertions, 0 deletions