mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Catch corruption in HKP index lines (can be caused by broken or malicious
keyservers). Add KEYSERVER_NOT_SUPPORTED for unsupported actions (say, a keyserver that has no way to search, or a readonly keyserver that has no way to add). Also add a USE_EXTERNAL_HKP define to disable the internal HKP keyserver code.
This commit is contained in:
parent
3d8e692e2a
commit
8ac8b1525e
5 changed files with 34 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-02-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* keyserver.h: Add KEYSERVER_NOT_SUPPORTED for unsupported actions
|
||||
(say, a keyserver that has no way to search, or a readonly
|
||||
keyserver that has no way to add).
|
||||
|
||||
2002-01-02 Stefan Bellon <sbellon@sbellon.de>
|
||||
|
||||
* util.h [__riscos__]: Updated prototype list.
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
/* Return codes */
|
||||
#define KEYSERVER_OK 0
|
||||
#define KEYSERVER_INTERNAL_ERROR 1
|
||||
#define KEYSERVER_VERSION_ERROR 2
|
||||
#define KEYSERVER_NOT_SUPPORTED 2
|
||||
#define KEYSERVER_VERSION_ERROR 3
|
||||
#define KEYSERVER_SCHEME_NOT_FOUND 127
|
||||
|
||||
#endif /* !_KEYSERVER_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue