Mercurial > trustbridge
comparison common/binverify.c @ 637:be30d50bc4f0
Add remaining tests to check binverify functionality
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 24 Jun 2014 15:24:09 +0200 |
parents | facb13c578f1 |
children | 2798f1869eee |
comparison
equal
deleted
inserted
replaced
636:2fd4f9980a2a | 637:be30d50bc4f0 |
---|---|
198 goto done; | 198 goto done; |
199 } | 199 } |
200 else | 200 else |
201 { | 201 { |
202 ERRORPRINTF ("Certificate mismatch. \n"); | 202 ERRORPRINTF ("Certificate mismatch. \n"); |
203 retval = VerifyInvalidSignature; | 203 retval = VerifyInvalidCertificate; |
204 syslog_error_printf ("Software update embedded signature " | 204 syslog_error_printf ("Software update embedded signature " |
205 "created with wrong certificate."); | 205 "created with wrong certificate."); |
206 goto done; | 206 goto done; |
207 } | 207 } |
208 | 208 |