I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bfc32783 authored by kytv's avatar kytv
Browse files

checkcerts.sh: add some support for non-Linux systems

Date computations as performed in this script require the use of GNU date,
which is only available by default on Linux systems. With this check-in we
explicitly check for the existence of GNU date before continuing with the date
calculations.

Previous versions of this script relied on 'certtool' to print the expiration
dates but certtool isn't available by default on non-Linux systems either. The
previous check-in added support for using OpenSSL, retaining the old behavior
on non-Linux systems.

(Also a re-arrangement of the date warning logic)
parent 427abb08
Branches
Tags i2p_0_6_0_2
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment