diff options
author | Werner Koch <wk@gnupg.org> | 2020-12-17 18:18:52 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-12-17 18:25:34 +0100 |
commit | 4a3836e2b2f9a91995d5ce058820e1121298f548 (patch) | |
tree | 29040bbaf899bdd5843710645f5367f35812ff16 /g10/test-stubs.c | |
parent | dirmngr: Support "ldap:///" for the current AD user. (diff) | |
download | gnupg2-4a3836e2b2f9a91995d5ce058820e1121298f548.tar.xz gnupg2-4a3836e2b2f9a91995d5ce058820e1121298f548.zip |
gpg: New AKL method "ntds"
* dirmngr/ks-engine-ldap.c (keyspec_to_ldap_filter): Change the new
support for KEYDB_SEARCH_MODE_MAIL.
(ks_ldap_get): Add a debug.
* g10/options.h (AKL_NTDS): New.
* g10/keyserver.c (keyserver_import_ntds): New.
(keyserver_get_chunk): Allow KEYDB_SEARCH_MODE_MAIL.
* g10/getkey.c (parse_auto_key_locate): Support "ntds".
(get_pubkey_byname): Ditto.
Diffstat (limited to 'g10/test-stubs.c')
-rw-r--r-- | g10/test-stubs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/g10/test-stubs.c b/g10/test-stubs.c index 9542d318b..f7b6a22ad 100644 --- a/g10/test-stubs.c +++ b/g10/test-stubs.c @@ -237,6 +237,17 @@ keyserver_import_name (const char *name,struct keyserver_spec *spec) } int +keyserver_import_ntds (ctrl_t ctrl, const char *mbox, + unsigned char **fpr, size_t *fprlen) +{ + (void)ctrl; + (void)mbox; + (void)fpr; + (void)fprlen; + return -1; +} + +int keyserver_import_ldap (const char *name) { (void)name; |