diff options
| author | Werner Koch <[email protected]> | 2000-10-11 17:26:49 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2000-10-11 17:26:49 +0000 |
| commit | c287a8d05bfa08a3ea7d2c8fc8ae8c3a740aef1c (patch) | |
| tree | 541bb4fcd34dd379b6ac17f0e58af743dc9ed2bd /g10/keygen.c | |
| parent | This was missing in HEAD. (diff) | |
| download | gnupg-c287a8d05bfa08a3ea7d2c8fc8ae8c3a740aef1c.tar.gz gnupg-c287a8d05bfa08a3ea7d2c8fc8ae8c3a740aef1c.zip | |
Add features packet and fixes MIPS3.
Diffstat (limited to 'g10/keygen.c')
| -rw-r--r-- | g10/keygen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index 415c54a2a..790dd58ba 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -148,6 +148,9 @@ keygen_add_std_prefs( PKT_signature *sig, void *opaque ) buf[1] = 1; build_sig_subpkt( sig, SIGSUBPKT_PREF_COMPR, buf, 2 ); + buf[0] = 1; /* supports MDC packets (15 + 16) */ + build_sig_subpkt( sig, SIGSUBPKT_FEATURES, buf, 1 ); + buf[0] = 0x80; /* no modify - It is reasonable that a key holder * has the possibility to reject signatures from users * who are known to sign everything without any |
