Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/efisign/efisign.c
- This file was moved from usr.sbin/uefisign/uefisign.c.
| Show All 38 Lines | |||||
| #include <unistd.h> | #include <unistd.h> | ||||
| #include <openssl/conf.h> | #include <openssl/conf.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 <openssl/pkcs7.h> | #include <openssl/pkcs7.h> | ||||
| #include "uefisign.h" | #include "efisign.h" | ||||
| #include "magic.h" | #include "magic.h" | ||||
| static void | static void | ||||
| usage(void) | usage(void) | ||||
| { | { | ||||
| fprintf(stderr, "usage: uefisign -c cert -k key -o outfile [-v] file\n" | fprintf(stderr, "usage: efisign -c cert -k key -o outfile [-v] file\n" | ||||
| " uefisign -V [-c cert] [-v] file\n"); | " efisign -V [-c cert] [-v] file\n"); | ||||
| exit(1); | exit(1); | ||||
| } | } | ||||
| static char * | static char * | ||||
| checked_strdup(const char *s) | checked_strdup(const char *s) | ||||
| { | { | ||||
| char *c; | char *c; | ||||
| ▲ Show 20 Lines • Show All 374 Lines • Show Last 20 Lines | |||||