diff options
| author | Ingo Klöcker <[email protected]> | 2026-08-05 14:41:33 +0200 |
|---|---|---|
| committer | Ingo Klöcker <[email protected]> | 2026-08-05 14:41:33 +0200 |
| commit | ecffd0c9a7ec00a156443d6d8d253da09c0cf23b (patch) | |
| tree | 7f8be0ca77101488e43b36688e769ef11207b809 /tests/gpgsm/cms-decrypt.c | |
| parent | Fix handling of missing timestamp in SIGINFO status (diff) | |
| download | gpgme-ecffd0c9a7ec00a156443d6d8d253da09c0cf23b.tar.gz gpgme-ecffd0c9a7ec00a156443d6d8d253da09c0cf23b.zip | |
tests: Add test to check issuer serial number and issuer name
* tests/gpgsm/Makefile.am (LDADD): Add @GPG_ERROR_LIBS@.
* tests/gpgsm/t-support.h (_test, test, safe_strcmp, nonnull,
have_gpgsm_version): New.
* tests/gpgsm/cms-decrypt.c (nonnull): Remove.
* tests/gpgsm/cms-keylist.c (nonnull): Remove.
* tests/gpgsm/t-verify.c (test_opaque_without_cert): New.
(check_result): Add arguments issuer_serial, issuer_name. Use
safe_strcmp to compare fpr. Check issuer_serial and issuer_name.
(main): Add expected issuer serial and issuer name to existing
check_result calls. Add test to check S/MIME signature without embedded
signing certificate.
--
GnuPG-bug-id: 8369
Diffstat (limited to 'tests/gpgsm/cms-decrypt.c')
| -rw-r--r-- | tests/gpgsm/cms-decrypt.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/gpgsm/cms-decrypt.c b/tests/gpgsm/cms-decrypt.c index c3426bb2..aa8fd709 100644 --- a/tests/gpgsm/cms-decrypt.c +++ b/tests/gpgsm/cms-decrypt.c @@ -34,13 +34,6 @@ #include "t-support.h" -static const char * -nonnull (const char *s) -{ - return s? s :"[none]"; -} - - int main (int argc, char **argv) { |
