1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02:00
This commit is contained in:
Werner Koch 2004-06-16 09:15:21 +00:00
parent 5c9cc2e867
commit 6bbcda7477

View File

@ -273,8 +273,8 @@ copy_secret_key( PKT_secret_key *d, PKT_secret_key *s )
else {
for(i=0; i < n; i++ )
{
if (d->skey[1])
mpi_free (d->skey[1]);
if (d->skey[i])
mpi_free (d->skey[i]);
d->skey[i] = mpi_copy( s->skey[i] );
}
}