Mercurial > trustbridge
diff common/binverify.h @ 1364:28885e8c891f
(issue177) Read signature time from PKCS#7 object in selftest and binverify
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 21 Nov 2014 18:33:31 +0100 |
parents | 2a1aa9df8f11 |
children |
line wrap: on
line diff
--- a/common/binverify.h Fri Nov 21 18:32:35 2014 +0100 +++ b/common/binverify.h Fri Nov 21 18:33:31 2014 +0100 @@ -14,6 +14,7 @@ #include <stdbool.h> #include <stddef.h> #include <stdio.h> +#include <time.h> #ifdef __cplusplus extern "C" { @@ -47,6 +48,7 @@ FILE *fptr; /**< Pointer to the open file struct of the verified file The ptr is only valid if verify_result is VerifyValid and needs to be closed by the caller in that case.*/ + time_t sig_time; /** < Time of the signature. */ /*@}*/ } bin_verify_result;