actions: added clearsign to parameters

This commit is contained in:
Mirek Kratochvil 2013-04-22 07:38:21 +02:00
parent 903273db43
commit 403ec2cc88
3 changed files with 8 additions and 6 deletions

View file

@ -121,13 +121,13 @@ int action_decrypt (bool armor,
int action_sign (const std::string&user, bool armor, const std::string&detach, int action_sign (const std::string&user, bool armor, const std::string&detach,
keyring&KR, algorithm_suite&AS) bool clearsign, keyring&KR, algorithm_suite&AS)
{ {
return 0; return 0;
} }
int action_verify (bool armor, const std::string&detach, int action_verify (bool armor, const std::string&detach, bool clearsign,
keyring&KR, algorithm_suite&AS) keyring&KR, algorithm_suite&AS)
{ {
return 0; return 0;

View file

@ -40,9 +40,9 @@ int action_decrypt (bool armor,
keyring&, algorithm_suite&); keyring&, algorithm_suite&);
int action_sign (const std::string&user, bool armor, const std::string&detach, int action_sign (const std::string&user, bool armor, const std::string&detach,
keyring&, algorithm_suite&); bool clearsign, keyring&, algorithm_suite&);
int action_verify (bool armor, const std::string&detach, int action_verify (bool armor, const std::string&detach, bool clearsign,
keyring&, algorithm_suite&); keyring&, algorithm_suite&);
int action_sign_encrypt (const std::string&user, const std::string&recipient, int action_sign_encrypt (const std::string&user, const std::string&recipient,

View file

@ -351,11 +351,13 @@ int main (int argc, char**argv)
break; break;
case 's': case 's':
exitval = action_sign (user, opt_armor, detach_sign, KR, AS); exitval = action_sign (user, opt_armor, detach_sign,
opt_clearsign, KR, AS);
break; break;
case 'v': case 'v':
exitval = action_verify (opt_armor, detach_sign, KR, AS); exitval = action_verify (opt_armor, detach_sign,
opt_clearsign, KR, AS);
break; break;
case 'E': case 'E':