aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-02-08 20:11:19 +0000
committerWerner Koch <[email protected]>2011-02-08 20:11:19 +0000
commit2c79a2832cd3cbc1c09f4f7a7b2653ba6cbd2845 (patch)
tree87e424f10a74c0cecce3c3ecc96b43eaca1b892c /dirmngr/ks-engine.h
parentFix ECDSA 521 bit signing. (diff)
downloadgnupg-2c79a2832cd3cbc1c09f4f7a7b2653ba6cbd2845.tar.gz
gnupg-2c79a2832cd3cbc1c09f4f7a7b2653ba6cbd2845.zip
Add finger support to dirmngr.
The basic network code from http.c is used for finger. This keeps the network related code at one place and we are able to use the somewhat matured code form http.c. Unfortunately I had to enhance the http code for more robustness and probably introduced new bugs. Test this code using gpg --fetch-key finger:[email protected] (I might be the last user of finger ;-)
Diffstat (limited to 'dirmngr/ks-engine.h')
-rw-r--r--dirmngr/ks-engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/ks-engine.h b/dirmngr/ks-engine.h
index 304fc4d1a..50f42be4b 100644
--- a/dirmngr/ks-engine.h
+++ b/dirmngr/ks-engine.h
@@ -31,6 +31,9 @@ gpg_error_t ks_hkp_get (ctrl_t ctrl, parsed_uri_t uri,
gpg_error_t ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri,
const void *data, size_t datalen);
+/*-- ks-engine-finger.c --*/
+gpg_error_t ks_finger_get (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp);
+
#endif /*DIRMNGR_KS_ENGINE_H*/