diff options
author | Werner Koch <wk@gnupg.org> | 1998-04-08 21:49:02 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-04-08 21:49:02 +0200 |
commit | 8b10a87908f4d382735a046e7d043ebc250d8d67 (patch) | |
tree | 9c4255d5cd84df663f9a7001b7b6277e53cf6e6e /include | |
parent | New tests (diff) | |
download | gnupg2-8b10a87908f4d382735a046e7d043ebc250d8d67.tar.xz gnupg2-8b10a87908f4d382735a046e7d043ebc250d8d67.zip |
test release
Diffstat (limited to 'include')
-rw-r--r-- | include/cipher.h | 1 | ||||
-rw-r--r-- | include/errors.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h index 0dfcf3e17..87440ef8d 100644 --- a/include/cipher.h +++ b/include/cipher.h @@ -97,6 +97,7 @@ int string_to_digest_algo( const char *string ); const char * pubkey_algo_to_string( int algo ); const char * digest_algo_to_string( int algo ); int check_pubkey_algo( int algo ); +int check_pubkey_algo2( int algo, unsigned usage ); int check_digest_algo( int algo ); /*-- smallprime.c --*/ diff --git a/include/errors.h b/include/errors.h index 4821a6bab..7f60b8715 100644 --- a/include/errors.h +++ b/include/errors.h @@ -60,5 +60,6 @@ #define G10ERR_DELETE_FILE 38 #define G10ERR_UNEXPECTED 39 #define G10ERR_TIME_CONFLICT 40 +#define G10ERR_WR_PUBKEY_ALGO 41 /* unusabe pubkey algo */ #endif /*G10_ERRORS_H*/ |