+ if (search != NULL && strlen(search) == 42 &&
+ search[0] == '0' && search[1] == 'x') {
+ /*
+ * Fingerprint. Truncate to last 64 bits for
+ * now.
+ */
+ keyid = strtoull(&search[26], &end, 16);
+ if (end != NULL && *end == 0) {
+ ishex = true;
+ }
+ } else if (search != NULL) {