diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-04-21 12:54:59 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-04-21 12:54:59 +0200 |
commit | 137bd971544f3b0332af32e68ae37fb9e74bae69 (patch) | |
tree | dddda27b440a775e289a419cc3ead054a095c816 /src/testing | |
parent | 4af1772f1205de93cbf04e20c6dd2d309c7fe0df (diff) | |
download | exchange-137bd971544f3b0332af32e68ae37fb9e74bae69.tar.xz |
cleanup of extension API
- removed TALER_extensions_init()
- added TALER_extension_age_restriction_register()
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_exchange_api.c | 3 | ||||
-rw-r--r-- | src/testing/test_exchange_p2p.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index da4974f28..da323ca51 100644 --- a/src/testing/test_exchange_api.c +++ b/src/testing/test_exchange_api.c @@ -1233,7 +1233,8 @@ main (int argc, "INFO", NULL); - TALER_extensions_init (); + GNUNET_assert (GNUNET_OK == + TALER_extension_age_restriction_register ()); cipher = GNUNET_TESTING_get_testname_from_underscore (argv[0]); GNUNET_assert (NULL != cipher); diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c index c059b5ccf..f1a7f6553 100644 --- a/src/testing/test_exchange_p2p.c +++ b/src/testing/test_exchange_p2p.c @@ -211,7 +211,8 @@ main (int argc, "INFO", NULL); - TALER_extensions_init (); + GNUNET_assert (GNUNET_OK == + TALER_extension_age_restriction_register ()); cipher = GNUNET_TESTING_get_testname_from_underscore (argv[0]); GNUNET_assert (NULL != cipher); |