aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-24 01:49:32 +0000
committerDavid Shaw <[email protected]>2002-11-24 01:49:32 +0000
commita5b9770a8bb139f531b169fa0df47b3286edbb51 (patch)
tree6bdd32a53c365f527842a849e55543c35638cf20 /g10/main.h
parent* encode.c (encode_simple), passphrase.c (passphrase_to_dek), sign.c (diff)
downloadgnupg-a5b9770a8bb139f531b169fa0df47b3286edbb51.tar.gz
gnupg-a5b9770a8bb139f531b169fa0df47b3286edbb51.zip
* g10.c (add_notation_data): Disallow notation names that do not contain a
'@', unless --expert is set. This is to help prevent people from polluting the (as yet unused) IETF namespace. * main.h: Comments about default algorithms. * photoid.c (image_type_to_string): Comments about 3-letter file extensions.
Diffstat (limited to '')
-rw-r--r--g10/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index 0365ed557..a1aff3afb 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -25,8 +25,10 @@
#include "cipher.h"
#include "keydb.h"
+/* It could be argued that the default cipher should be 3DES rather
+ than CAST5, and the default compression should be 0
+ (i.e. uncompressed) rather than 1 (zip). */
#define DEFAULT_CIPHER_ALGO CIPHER_ALGO_CAST5
-#define DEFAULT_PUBKEY_ALGO PUBKEY_ALGO_ELGAMAL
#define DEFAULT_DIGEST_ALGO DIGEST_ALGO_SHA1
#define DEFAULT_COMPRESS_ALGO 1