mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-08 06:40:16 -04:00

Fix building by adding `common.c` to the build scripts (both make and Cmake). Also reworks the hook function pointer (also renamed to `err_add_hook`) to be a static local to `common.c` with a setter function to set the pointer to a checking function. Signed-off-by: Chris Jones <christopher.jones@arm.com>