Set protocol to CMS to test gpgsm
This commit is contained in:
parent
0b11af59c7
commit
4922297af1
@ -144,6 +144,8 @@ main (int argc, char **argv )
|
|||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
|
|
||||||
err = gpgme_new (&ctx);
|
err = gpgme_new (&ctx);
|
||||||
|
#warning debug code
|
||||||
|
gpgme_set_protocol (ctx, GPGME_PROTOCOL_CMS);
|
||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
gpgme_set_keylist_mode (ctx, 1); /* no validity calculation */
|
gpgme_set_keylist_mode (ctx, 1); /* no validity calculation */
|
||||||
do {
|
do {
|
||||||
@ -152,7 +154,7 @@ main (int argc, char **argv )
|
|||||||
} while ( loop );
|
} while ( loop );
|
||||||
gpgme_release (ctx);
|
gpgme_release (ctx);
|
||||||
|
|
||||||
check_two_contexts ();
|
/* check_two_contexts ();*/
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user