]> git.kaiwu.me - njs.git/commit
Unifying hash function prototypes.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 9 Jan 2024 00:40:42 +0000 (16:40 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 9 Jan 2024 00:40:42 +0000 (16:40 -0800)
commite8a349f5fd7cf1b8a8c73f85c65d572190788675
tree3cbf9e7faa806940988d88fd043a2406b7a12f15
parent24bb54b72b1cf52ba99cb25e1088f9dcec0c336b
Unifying hash function prototypes.

This fixes UndefinedBehaviorSanitizer warning "call to function through
pointer to incorrect function type".

Found by UndefinedBehaviorSanitizer.
external/njs_crypto_module.c
src/njs_hash.h [new file with mode: 0644]
src/njs_main.h
src/njs_md5.c
src/njs_md5.h [deleted file]
src/njs_sha1.c
src/njs_sha1.h [deleted file]
src/njs_sha2.c
src/njs_sha2.h [deleted file]