abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change
on this file since 2a20fa0 was
04f5da1,
checked in by Mike Ryan <mikeryan@…>, 14 years ago
|
-lcreddy extracted
|
-
Property mode set to
100644
|
File size:
330 bytes
|
Line | |
---|
1 | #include <creddy.h> |
---|
2 | |
---|
3 | #include "creddy_common.h" |
---|
4 | |
---|
5 | void keyid_main(options_t *opts) { |
---|
6 | if (opts->cert == NULL) |
---|
7 | usage(opts); |
---|
8 | |
---|
9 | creddy_id_t *id = creddy_id_from_file(opts->cert); |
---|
10 | if (id == NULL) |
---|
11 | errx(1, "Couldn't load ID cert from %s", opts->cert); |
---|
12 | |
---|
13 | puts(creddy_id_keyid(id)); |
---|
14 | |
---|
15 | creddy_id_free(id); |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.