fix secmod helper config, wait for client directory
This commit is contained in:
parent
2bdc2f61c5
commit
bfebdae838
@ -332,15 +332,27 @@ run_test (void)
|
||||
GNUNET_break (0);
|
||||
return 77;
|
||||
}
|
||||
esh = TALER_CRYPTO_helper_esign_connect (cfg,
|
||||
&key_cb,
|
||||
NULL);
|
||||
|
||||
/* wait for helper to start and give us keys */
|
||||
fprintf (stderr, "Waiting for helper client directory to become available ");
|
||||
for (unsigned int i = 0; i<1000; i++)
|
||||
{
|
||||
esh = TALER_CRYPTO_helper_esign_connect (cfg,
|
||||
&key_cb,
|
||||
NULL);
|
||||
if (NULL != esh)
|
||||
break;
|
||||
nanosleep (&req, NULL);
|
||||
fprintf (stderr, ".");
|
||||
}
|
||||
GNUNET_CONFIGURATION_destroy (cfg);
|
||||
if (NULL == esh)
|
||||
{
|
||||
GNUNET_break (0);
|
||||
return 1;
|
||||
}
|
||||
fprintf (stderr, " done.\n");
|
||||
|
||||
/* wait for helper to start and give us keys */
|
||||
fprintf (stderr, "Waiting for helper to start ");
|
||||
for (unsigned int i = 0; i<1000; i++)
|
||||
|
@ -7,5 +7,3 @@ TALER_RUNTIME_DIR = ${TMPDIR:-/tmp}/${USER}/test_helper_eddsa/
|
||||
LOOKAHEAD_SIGN = 5 minutes
|
||||
OVERLAP_DURATION = 1 s
|
||||
DURATION = 1 minute
|
||||
KEY_DIR = ${TALER_RUNTIME_DIR}keydir/
|
||||
UNIXPATH = ${TALER_RUNTIME_DIR}helper.unix
|
||||
|
@ -471,15 +471,26 @@ run_test (void)
|
||||
GNUNET_break (0);
|
||||
return 77;
|
||||
}
|
||||
dh = TALER_CRYPTO_helper_denom_connect (cfg,
|
||||
&key_cb,
|
||||
NULL);
|
||||
|
||||
fprintf (stderr, "Waiting for helper client directory to become available ");
|
||||
for (unsigned int i = 0; i<1000; i++)
|
||||
{
|
||||
dh = TALER_CRYPTO_helper_denom_connect (cfg,
|
||||
&key_cb,
|
||||
NULL);
|
||||
if (NULL != dh)
|
||||
break;
|
||||
nanosleep (&req, NULL);
|
||||
fprintf (stderr, ".");
|
||||
}
|
||||
GNUNET_CONFIGURATION_destroy (cfg);
|
||||
if (NULL == dh)
|
||||
{
|
||||
GNUNET_break (0);
|
||||
return 1;
|
||||
}
|
||||
fprintf (stderr, " done.\n");
|
||||
|
||||
/* wait for helper to start and give us keys */
|
||||
fprintf (stderr, "Waiting for helper to start ");
|
||||
for (unsigned int i = 0; i<1000; i++)
|
||||
|
@ -11,5 +11,3 @@ RSA_KEYSIZE = 2048
|
||||
[taler-exchange-secmod-rsa]
|
||||
LOOKAHEAD_SIGN = 5 minutes
|
||||
OVERLAP_DURATION = 1 s
|
||||
KEY_DIR = ${TALER_RUNTIME_DIR}/keydir/
|
||||
UNIXPATH = ${TALER_RUNTIME_DIR}helper.unix
|
||||
|
Loading…
Reference in New Issue
Block a user