mirror of https://github.com/BOINC/boinc.git
Forther fixes on indenting
This commit is contained in:
parent
f9d53b9e96
commit
661bf519d7
|
@ -184,7 +184,7 @@ int main(int argc, char** argv) {
|
||||||
signature.len = 256;
|
signature.len = 256;
|
||||||
retval = sign_file(argv[2], private_key, signature);
|
retval = sign_file(argv[2], private_key, signature);
|
||||||
print_hex_data(stdout, signature);
|
print_hex_data(stdout, signature);
|
||||||
fclose(fpriv);
|
fclose(fpriv);
|
||||||
} else if (!strcmp(argv[1], "-sign_string")) {
|
} else if (!strcmp(argv[1], "-sign_string")) {
|
||||||
if (argc < 4) {
|
if (argc < 4) {
|
||||||
usage();
|
usage();
|
||||||
|
@ -262,7 +262,7 @@ int main(int argc, char** argv) {
|
||||||
signature.data = signature_buf;
|
signature.data = signature_buf;
|
||||||
signature.len = 256;
|
signature.len = 256;
|
||||||
retval = scan_hex_data(f, signature);
|
retval = scan_hex_data(f, signature);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
if (retval) die("cannot scan_hex_data");
|
if (retval) die("cannot scan_hex_data");
|
||||||
certpath = check_validity(argv[4], argv[2], signature.data, argv[5]);
|
certpath = check_validity(argv[4], argv[2], signature.data, argv[5]);
|
||||||
if (certpath == NULL) {
|
if (certpath == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue