mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Updated ZH po file.
Allow de/encryption using legacy type 20 keys. Updated config.{sub,guess}
This commit is contained in:
parent
2e7eadbc1e
commit
81685cc799
12 changed files with 1839 additions and 1512 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-12-12 Werner Koch <wk@g10code.com>
|
||||
|
||||
* pubkey.c (pubkey_encrypt, pubkey_decrypt): Allow type 20 keys.
|
||||
(pubkey_algo_to_string): Ditto.
|
||||
|
||||
2007-12-11 Werner Koch <wk@g10code.com>
|
||||
|
||||
* pubkey.c (check_pubkey_algo2): Hack to allow decryption using an
|
||||
|
|
|
@ -234,6 +234,9 @@ pubkey_algo_to_string( int algo )
|
|||
{
|
||||
int i;
|
||||
|
||||
if (algo == PUBKEY_ALGO_ELGAMAL)
|
||||
return "ELG";
|
||||
|
||||
do {
|
||||
for(i=0; pubkey_table[i].name; i++ )
|
||||
if( pubkey_table[i].algo == algo )
|
||||
|
@ -470,6 +473,9 @@ pubkey_encrypt( int algo, MPI *resarr, MPI data, MPI *pkey )
|
|||
log_mpidump(" data:", data );
|
||||
}
|
||||
|
||||
if (algo == PUBKEY_ALGO_ELGAMAL)
|
||||
algo = PUBKEY_ALGO_ELGAMAL_E;
|
||||
|
||||
do {
|
||||
for(i=0; pubkey_table[i].name; i++ )
|
||||
if( pubkey_table[i].algo == algo ) {
|
||||
|
@ -509,6 +515,9 @@ pubkey_decrypt( int algo, MPI *result, MPI *data, MPI *skey )
|
|||
log_mpidump(" data:", data[i] );
|
||||
}
|
||||
|
||||
if (algo == PUBKEY_ALGO_ELGAMAL)
|
||||
algo = PUBKEY_ALGO_ELGAMAL_E;
|
||||
|
||||
do {
|
||||
for(i=0; pubkey_table[i].name; i++ )
|
||||
if( pubkey_table[i].algo == algo ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue