comparison common/binverify.h @ 629:facb13c578f1

Add certificate pinning to verify_binary_win
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Jun 2014 13:04:34 +0200
parents ecfd77751daf
children 2798f1869eee
comparison
equal deleted inserted replaced
626:f595fcbe3e76 629:facb13c578f1
24 */ 24 */
25 typedef enum { 25 typedef enum {
26 VerifyValid = 100, /*! Could be read and signature matched */ 26 VerifyValid = 100, /*! Could be read and signature matched */
27 VerifyUnknownError = 1, /*! The expected unexpected */ 27 VerifyUnknownError = 1, /*! The expected unexpected */
28 VerifyInvalidSignature = 4, /*! Signature was invalid */ 28 VerifyInvalidSignature = 4, /*! Signature was invalid */
29 VerifyInvalidCertificate = 5, /*! Certificate mismatch */
29 VerifyReadFailed = 6, /*! File exists but could not read the file */ 30 VerifyReadFailed = 6, /*! File exists but could not read the file */
30 } bin_verify_result; 31 } bin_verify_result;
31 32
32 /** 33 /**
33 * @brief verify a binary 34 * @brief verify a binary

http://wald.intevation.org/projects/trustbridge/