1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

removed debugging code

This commit is contained in:
Werner Koch 2000-03-16 15:51:35 +00:00
parent dca608ab9d
commit 265d82ac8c

View File

@ -274,14 +274,11 @@ gen_elg(int algo, unsigned nbits, KBNODE pub_root, KBNODE sec_root, DEK *dek,
sk = m_alloc_clear( sizeof *sk ); sk = m_alloc_clear( sizeof *sk );
pk = m_alloc_clear( sizeof *pk ); pk = m_alloc_clear( sizeof *pk );
sk->timestamp = pk->timestamp = 948668400; sk->timestamp = pk->timestamp = make_timestamp();
#warning FIXME: make_timestamp();
sk->version = pk->version = 4; sk->version = pk->version = 4;
if( expireval ) { if( expireval ) {
sk->expiredate = pk->expiredate = sk->timestamp + expireval; sk->expiredate = pk->expiredate = sk->timestamp + expireval;
} }
sk->expiredate = pk->expiredate = 949705200;
#warning remove the above line
sk->pubkey_algo = pk->pubkey_algo = algo; sk->pubkey_algo = pk->pubkey_algo = algo;
pk->pkey[0] = mpi_copy( skey[0] ); pk->pkey[0] = mpi_copy( skey[0] );
pk->pkey[1] = mpi_copy( skey[1] ); pk->pkey[1] = mpi_copy( skey[1] );