diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/ChangeLog | 5 | ||||
| -rw-r--r-- | tests/gpg/t-thread1.c | 5 | 
2 files changed, 6 insertions, 4 deletions
| diff --git a/tests/ChangeLog b/tests/ChangeLog index 01256675..e48dd6f2 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2003-10-06  Marcus Brinkmann  <[email protected]> + +	* gpg/t-thread1.c (thread_one): Do not call initialize_gpgme. +	Likewise. +  2003-09-14  Marcus Brinkmann  <[email protected]>  	* gpg/t-thread1.c (main): Call init_gpgme here. diff --git a/tests/gpg/t-thread1.c b/tests/gpg/t-thread1.c index 4c003b12..50549746 100644 --- a/tests/gpg/t-thread1.c +++ b/tests/gpg/t-thread1.c @@ -37,8 +37,6 @@ thread_one (void *name)  {    int i; -  initialize_gpgme (); -    for (i = 0; i < ROUNDS; i++)      {        gpgme_ctx_t ctx; @@ -89,7 +87,6 @@ void *  thread_two (void *name)  {    int i; -  initialize_gpgme ();    const char *cipher_1_asc = make_filename ("cipher-1.asc");    char *agent_info; @@ -143,7 +140,7 @@ main (int argc, char *argv[])    init_gpgme (GPGME_PROTOCOL_OpenPGP);    pthread_create (&tone, NULL, thread_one, "A"); -  pthread_create (&ttwo, NULL, thread_two, "A"); +  pthread_create (&ttwo, NULL, thread_two, "B");    pthread_join (tone, NULL);    pthread_join (ttwo, NULL); | 
