Commit Graph

18 Commits

Author SHA1 Message Date
David Anderson 14a4d07d4d crypt_prog: add -verify_string command (to verify a string signature) 2023-07-17 14:40:45 -07:00
barton26 985cecddca lib typos 2021-10-06 14:42:17 -04:00
Vitalii Koshura 1ce3793c76
Remove unused BOINC_RCSID constants
This fixes #2953

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-01-12 23:43:48 +02:00
Christian Beer faae3e53eb Tools: fix crypt_prog usage message 2016-08-26 10:22:00 +02:00
Christian Beer 7c2cb62aa3 Lib: fix indentation (whitespace changes only) 2016-07-18 16:25:31 +02:00
Christian Beer 056f788ea3 Tools: fix segfault in crypt_prog
The API changes in e965ea2 introduced a segfault when converting a private BOINC key into OpenSSL format. Also moved from the deprecated (since at least 1.0) RSA_generate_key() function to RSA_generate_key_ex().
2016-07-18 16:08:22 +02:00
Christian Beer e965ea2e32 Lib: build against openSSL 1.1.0
The upcoming OpenSSL version introduces some API changes (https://wiki.openssl.org/index.php/1.1_API_Changes). In BOINC mainly code related to RSA keys is affected for now.

Contributed by: Gianfranco Costamagna
2016-06-27 18:32:07 +02:00
Christian Beer b51ef0a021 Lib: check return value of fread() in crypt_prog
fixes CID 27709 found by Coverity
2015-11-04 17:55:53 +01:00
Christian Beer 92a4ffb5e6 Lib: check return value of scan_key_hex() in crypt_prog
fixes CID 27714 found by Coverity
2015-11-04 17:49:43 +01:00
Christian Beer a8fea2c56a Lib: prevent null dereference after fopen() in crypt_prog
fixes CID 27899 found by Coverity
2015-11-04 17:45:00 +01:00
David Anderson dcbe8b303a crypt_prog: use RSA_new() instead of calloc() 2014-06-26 17:42:48 -07:00
David Anderson a4cd8e5cdb - storage stuff
- client: message tweak


svn path=/trunk/boinc/; revision=25244
2012-02-13 08:41:48 +00:00
David Anderson ea2e64cef5 - client: async file stuff
svn path=/trunk/boinc/; revision=25209
2012-02-06 22:57:36 +00:00
David Anderson cdd40fcc10 - client: intermediate checkin for async file verification
svn path=/trunk/boinc/; revision=25202
2012-02-06 06:06:44 +00:00
David Anderson 63804486c0 - client: after a gzipped file is downloaded,
we uncompress it and then verify it.
    The latter involves computing its MD5, which reads the entire file.
    Combine these 2 steps so that the MD5 is computed
    as the file is uncompressed,
    eliminating the need to read the file again.


svn path=/trunk/boinc/; revision=25157
2012-01-26 23:13:00 +00:00
David Anderson 859253dba8 - crypt_prog: show cmdline options if error. Fixes #1019
svn path=/trunk/boinc/; revision=22448
2010-10-05 23:06:20 +00:00
David Anderson 7c51512cbf - transitioner: the format string for a DB query had %.15d instead of %.15e.
That produced a messed-up query that assigned garbage values to:
        host_app_version.turnaround_var
        host_app_version.turnaround_q
        host_app_version.max_jobs_per_day
        host_app_version.consecutive_valid
    To repair these:
        - set turnaround_var and turnaround_q to zero
        - if max_jobs_per_day is outside of
            (0..config.daily_result_quota)
            set it to config.daily_result_quota
        - if consecutive_valid is outside (0..1000), set it to zero
    I added a script, html/ops/repair_21812.php, that does this;
    if you ran server code between [21181] and [21812], run this script.
- scheduler/transitioner: add <debug_quota> log flag
- changed the build system to always use -Wall
    (if we'd done this before, this bug wouldn't have happened)
- fixed a bunch of other compile warnings


svn path=/trunk/boinc/; revision=21812
2010-06-25 18:54:37 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00