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 kernel images. | 5 // Utility for manipulating verified boot kernel images. |
6 // | 6 // |
7 | 7 |
8 #include "kernel_utility.h" | 8 #include "kernel_utility.h" |
9 | 9 |
10 #include <errno.h> | 10 #include <errno.h> |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 } | 354 } |
355 else if (ku.is_verify()) { | 355 else if (ku.is_verify()) { |
356 cerr << "Verification "; | 356 cerr << "Verification "; |
357 if (ku.VerifySignedImage()) | 357 if (ku.VerifySignedImage()) |
358 cerr << "SUCCESS.\n"; | 358 cerr << "SUCCESS.\n"; |
359 else | 359 else |
360 cerr << "FAILURE.\n"; | 360 cerr << "FAILURE.\n"; |
361 } | 361 } |
362 return 0; | 362 return 0; |
363 } | 363 } |
OLD | NEW |