actions: added clearsign to parameters
This commit is contained in:
		
							parent
							
								
									903273db43
								
							
						
					
					
						commit
						403ec2cc88
					
				|  | @ -121,13 +121,13 @@ int action_decrypt (bool armor, | |||
| 
 | ||||
| 
 | ||||
| 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; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 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) | ||||
| { | ||||
| 	return 0; | ||||
|  |  | |||
|  | @ -40,9 +40,9 @@ int action_decrypt (bool armor, | |||
|                     keyring&, algorithm_suite&); | ||||
| 
 | ||||
| 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&); | ||||
| 
 | ||||
| int action_sign_encrypt (const std::string&user, const std::string&recipient, | ||||
|  |  | |||
|  | @ -351,11 +351,13 @@ int main (int argc, char**argv) | |||
| 		break; | ||||
| 
 | ||||
| 	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; | ||||
| 
 | ||||
| 	case 'v': | ||||
| 		exitval = action_verify (opt_armor, detach_sign, KR, AS); | ||||
| 		exitval = action_verify (opt_armor, detach_sign, | ||||
| 		                         opt_clearsign, KR, AS); | ||||
| 		break; | ||||
| 
 | ||||
| 	case 'E': | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue