Skip to content

Commit

Permalink
src/certs/make-certs: delete the duplicate codes
Browse files Browse the repository at this point in the history
In make-certs, the codes of lines 33-36 is duplicate with the codes
of lines 37-40, so delete the duplicate codes.

Signed-off-by: YiLin.Li <[email protected]>
  • Loading branch information
hustliyilin authored and frozencemetery committed Sep 16, 2022
1 parent 45d6cb7 commit 280d16d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/certs/make-certs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ commonname="$1"
refresh_crl=false
revoke_cert=false
ocsp_serve=false
if test "x$commonname" = "x-refresh-crl" ; then
refresh_crl=true
commonname="$1"
fi
if test "x$commonname" = "x-refresh_crl" ; then
refresh_crl=true
commonname="$1"
Expand Down

0 comments on commit 280d16d

Please sign in to comment.