diff options
author | NIIBE Yutaka <[email protected]> | 2020-03-27 10:50:24 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-03-27 10:50:24 +0000 |
commit | 3658e2df65d321e334a8c96b4d252a4be20354bd (patch) | |
tree | a2d9626e4fb7fe00dad25d33d5c651ab5c0e7aa2 /tests/gpgsm/t-support.h | |
parent | build: Fix library dependency. (diff) | |
download | gpgme-3658e2df65d321e334a8c96b4d252a4be20354bd.tar.gz gpgme-3658e2df65d321e334a8c96b4d252a4be20354bd.zip |
tests: Add ECC key generation for tests/gpgsm.
* tests/gpgsm/t-genkey.c (check_result): New.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/gpgsm/t-support.h')
-rw-r--r-- | tests/gpgsm/t-support.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gpgsm/t-support.h b/tests/gpgsm/t-support.h index a0066599..fe65364f 100644 --- a/tests/gpgsm/t-support.h +++ b/tests/gpgsm/t-support.h @@ -26,6 +26,10 @@ #include <gpgme.h> +#ifndef DIM +#define DIM(v) (sizeof(v)/sizeof((v)[0])) +#endif + #define fail_if_err(err) \ do \ { \ |