• src/sbbs3/scfgdefs.h ssl.c

    From Deuc╨╡ to Git commit to main/sbbs/master on Sunday, November 07, 2021 23:26:01
    https://gitlab.synchro.net/main/sbbs/-/commit/e535aaac61c0e45e371144e4
    Modified Files:
    src/sbbs3/scfgdefs.h ssl.c
    Log Message:
    Keep track of certificate file timestamp and reload if it has changed

    With the old method, it was possible for a certificate to remain used eternally, and letsyncrypt.js can change it relatively often.
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, November 17, 2021 18:03:35
    https://gitlab.synchro.net/main/sbbs/-/commit/5b8577aef312011d38aaebf2
    Modified Files:
    src/sbbs3/scfgdefs.h ssl.c
    Log Message:
    Don't use time_t in scfg_t definition

    sbbsctrl.exe is built with Borland C++ still which only has a 32-bit time_t, so to keep the scfg_t definition compatible between MSVC and Borland builds, use time32_t (32-bit time_t) values only.

    This fixes the reported sbbsctrl.exe error:
    Error loading configuration
    cfg->size (23944) != sizeof(scfg_t) (23952)

    Introduced in commit e535aaac.
    Reported via DOVE-Net by Daryl Stout (TBOLT), confirmed by Nightfox (DIGDIST).