svn commit: r346070 - head/lib/libsecureboot
    Simon J. Gerraty 
    sjg at FreeBSD.org
       
    Tue Sep  3 14:07:18 UTC 2019
    
    
  
Author: sjg
Date: Tue Apr  9 22:20:11 2019
New Revision: 346070
URL: https://svnweb.freebsd.org/changeset/base/346070
Log:
  Always report file with incorrect hash.
Modified:
  head/lib/libsecureboot/verify_file.c
Modified: head/lib/libsecureboot/verify_file.c
==============================================================================
--- head/lib/libsecureboot/verify_file.c	Tue Apr  9 22:15:39 2019	(r346069)
+++ head/lib/libsecureboot/verify_file.c	Tue Apr  9 22:20:11 2019	(r346070)
@@ -366,7 +366,7 @@ verify_file(int fd, const char *filename, off_t off, i
 			return (rc);
 		}
 
-		if (severity || verbose)
+		if (severity || verbose || rc == VE_FINGERPRINT_WRONG)
 			printf("Unverified: %s\n", ve_error_get());
 		if (rc == VE_FINGERPRINT_UNKNOWN && severity < VE_MUST)
 			rc = VE_UNVERIFIED_OK;
    
    
More information about the svn-src-all
mailing list