1
0
Fork 0
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:
Werner Koch 2007-12-12 18:26:25 +00:00
parent 2e7eadbc1e
commit 81685cc799
12 changed files with 1839 additions and 1512 deletions

View file

@ -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 ) {