Skip to content
Snippets Groups Projects
Commit fe91cfe8 authored by Tobias Dussa's avatar Tobias Dussa
Browse files

Merge branch 'master' of git.scc.kit.edu:tobias.dussa/ca-tools

Conflicts:
	ApproveRequest/ApproveRequest.jar
	ApproveRequest/src/main/ApproveRequest.jar
parents 6786c79b 55940504
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -74,6 +74,11 @@ public class ApproveRequest {
// get the actual request info now
myExtendedRequestInfo = registration.getExtendedRequestInfo(requestID);
// if dry run selected, print notification
if (dryrun) {
System.out.println("\nDRYRUN. NOT ACTUALLY APPROVING ANYTHING.");
}
// print the information and, if necessary, request confirmation
System.out.println("\n" +
"Request ID " + requestID + ": Submitted at " +
......@@ -135,9 +140,7 @@ public class ApproveRequest {
if (fingerprint.length() == 0) {
System.out.println("SKIPPED!");
} else {
if (dryrun) {
System.out.println("DRYRUN. NOT ACTUALLY APPROVING ANYTHING.");
} else {
if (! dryrun) {
byte rawRequest[] = registration.getRawRequest(requestID);
registration.approveRequest(requestID,
rawRequest,
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment