1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Added bench.ps1, Made a CRL file not there yet revoke nothing for clients too

- bench.ps1 runs the benchmarks (push_rate, replication_rate,
  compare_with_old) in release mode: -Only, -Sync full|normal. Plan
  step 13 done, every step of the plan is.
- A CRL file named in client.toml that isn't there yet: nothing revoked
  (the tool, Python's from_file), as on the server, which now warns in
  its log. A path given to the DLL's SetCrl or Client(crl=...) stays a
  FileError. Decided in revamp.md, dropped from known-issues.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 10:36:59 +01:00
parent 34eb6f4600
commit 39ba7fce6c
18 changed files with 115 additions and 31 deletions
+2 -2
View File
@@ -288,8 +288,8 @@ pub unsafe extern "C" fn BakaShrot_SetPrivateKeyW(key: *const u16) -> isize {
}
/// Sets the CA's CRL, optional: servers it revokes are refused. PEM text,
/// or the path of a file holding it; null or empty for none. Before
/// connecting.
/// or the path of a file holding it (one that isn't there is a
/// `FileError`); null or empty for none. Before connecting.
#[unsafe(no_mangle)]
pub unsafe extern "C" fn BakaShrot_SetCrlA(crl: *const c_char) -> isize {
unsafe { set::<Utf8>(crl.cast(), "CRL", true, |state| &mut state.crl) }