Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/efisign/child.c
- This file was moved from usr.sbin/uefisign/child.c.
| Show All 40 Lines | |||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include <string.h> | #include <string.h> | ||||
| #include <unistd.h> | #include <unistd.h> | ||||
| #include <openssl/evp.h> | #include <openssl/evp.h> | ||||
| #include <openssl/err.h> | #include <openssl/err.h> | ||||
| #include <openssl/pem.h> | #include <openssl/pem.h> | ||||
| #include "uefisign.h" | #include "efisign.h" | ||||
| static void | static void | ||||
| load(struct executable *x) | load(struct executable *x) | ||||
| { | { | ||||
| int error, fd; | int error, fd; | ||||
| struct stat sb; | struct stat sb; | ||||
| char *buf; | char *buf; | ||||
| size_t nread, len; | size_t nread, len; | ||||
| ▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines | |||||