kernel: fix build error in sign-file.c with libressl