} else if (!strcmp(opt, "-version")) {
showversion();
nogo = TRUE;
- }
+ } else if (!strcmp(opt, "-pgpfp")) {
+ /* support "-pgpfp" for consistency with others */
+ pgp_fingerprints();
+ nogo = TRUE;
+ }
/*
* A sample option requiring an argument:
*
char *blob;
int n, l, bloblen;
- ret = rsakey_pubblob(&infilename, &vblob, &bloblen, &error);
+ ret = rsakey_pubblob(&infilename, &vblob, &bloblen, NULL,
+ &error);
blob = (char *)vblob;
n = 4; /* skip modulus bits */
case SSH_KEYTYPE_SSH2:
if (!load_encrypted) {
ssh2blob = ssh2_userkey_loadpub(&infilename, &ssh2alg,
- &ssh2bloblen, &error);
+ &ssh2bloblen, NULL, &error);
ssh2algf = find_pubkey_alg(ssh2alg);
if (ssh2algf)
bits = ssh2algf->pubkey_bits(ssh2blob, ssh2bloblen);