From 280d16d9347a3389759f2a68cef0a5c50ecb1ce8 Mon Sep 17 00:00:00 2001 From: "YiLin.Li" Date: Fri, 16 Sep 2022 08:09:44 +0000 Subject: [PATCH] src/certs/make-certs: delete the duplicate codes 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 --- src/certs/make-certs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/certs/make-certs b/src/certs/make-certs index 29fd06a7..5b708e04 100755 --- a/src/certs/make-certs +++ b/src/certs/make-certs @@ -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"