Searched refs:key_fp (Results 1 – 2 of 2) sorted by relevance
43 FILE* key_fp = NULL; in SignatureBuf() local49 key_fp = fopen(key_file, "r"); in SignatureBuf()50 if (!key_fp) { in SignatureBuf()55 if ((key = PEM_read_RSAPrivateKey(key_fp, NULL, NULL, NULL))) in SignatureBuf()68 fclose(key_fp); in SignatureBuf()
1902 char *key_fp, *ca_fp; in do_show_cert() local1917 key_fp = sshkey_fingerprint(key, fingerprint_hash, SSH_FP_DEFAULT); in do_show_cert()1920 if (key_fp == NULL || ca_fp == NULL) in do_show_cert()1926 printf(" Public key: %s %s\n", sshkey_type(key), key_fp); in do_show_cert()