diff options
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*/ |