Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: src/platform/vboot_reference/misclibs/file_keys.c

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 functions for file and key handling. 5 * Utility functions for file and key handling.
6 */ 6 */
7 7
8 #include "file_keys.h" 8 #include "file_keys.h"
9 9
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 if (fread(signature, signature_size, 1, cmd_out) != 1) { 111 if (fread(signature, signature_size, 1, cmd_out) != 1) {
112 fprintf(stderr, "Couldn't read signature.\n"); 112 fprintf(stderr, "Couldn't read signature.\n");
113 pclose(cmd_out); 113 pclose(cmd_out);
114 Free(signature); 114 Free(signature);
115 return NULL; 115 return NULL;
116 } 116 }
117 117
118 pclose(cmd_out); 118 pclose(cmd_out);
119 return signature; 119 return signature;
120 } 120 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/misclibs/Makefile ('k') | src/platform/vboot_reference/misclibs/include/file_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698