OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Utility for manipulating verified boot firmware images. | 5 // Utility for manipulating verified boot firmware images. |
6 // | 6 // |
7 | 7 |
8 #include "firmware_utility.h" | 8 #include "firmware_utility.h" |
9 | 9 |
10 #include <errno.h> | 10 #include <errno.h> |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 } | 304 } |
305 if (fu.is_verify()) { | 305 if (fu.is_verify()) { |
306 cerr << "Verification "; | 306 cerr << "Verification "; |
307 if (fu.VerifySignedImage()) | 307 if (fu.VerifySignedImage()) |
308 cerr << "SUCCESS.\n"; | 308 cerr << "SUCCESS.\n"; |
309 else | 309 else |
310 cerr << "FAILURE.\n"; | 310 cerr << "FAILURE.\n"; |
311 } | 311 } |
312 return 0; | 312 return 0; |
313 } | 313 } |
OLD | NEW |