Skip to content

Commit 897c075

Browse files
committedJan 22, 2025
Merge branch 'ut-disable-dl-ossl3-shellcheck' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-ut-disable-dl-ossl3-shellcheck
Signed-off-by: Richard T Bonhomme <[email protected]>
2 parents 4f83af6 + 211bc61 commit 897c075

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
 

‎ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Easy-RSA 3 ChangeLog
22

33
3.2.2 (TBD)
44

5+
* op-test.sh: Disable download ossl3 and shellcheck binaries (473c43b) (#1284)
56
* Forbid self-signed certificate from being expired/renewed/revoked (ab45ae7) (#1274)
67
* Rename global option --ssl-conf (DEPRECATED) to --ssl-cnf (c788423) (#1270)
78
* bugfix: Save and Restore $EASYRSA_SSL_CONF for compound commands (7cdb14d) (#1270)

‎op-test.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ curl_it () {
102102
# RUN unit test
103103
run_unit_test ()
104104
{
105-
if [ "${utest_bin_ok}" ] && [ "${ssl_bin_ok}" ]; then
105+
if [ "${utest_bin_ok}" ]; then
106106

107107
# Start unit tests
108108
log ">>> BEGIN unit tests:"
@@ -228,7 +228,8 @@ download_unit_test_help () {
228228

229229
# Run shellcheck
230230
run_shellcheck () {
231-
if [ "$enable_shellcheck" ] && [ "$sc_bin_ok" ] && [ "$EASYRSA_NIX" ]; then
231+
sc_bin=shellcheck
232+
if [ "$enable_shellcheck" ] && [ "$EASYRSA_NIX" ]; then
232233
# shell-check easyrsa3/easyrsa
233234
if [ -e easyrsa3/easyrsa ]; then
234235
if "${sc_bin}" -s sh -S warning -x easyrsa3/easyrsa; then
@@ -397,7 +398,7 @@ while [ -n "$1" ]; do
397398
-v) verb='-v' ;;
398399
-vv) verb='-vv' ;;
399400
-sc) enable_shellcheck=1 ;;
400-
-o3) enable_openssl3=1 ;;
401+
-o3) : ;; # ignored
401402
-p) use_passwords='-p' ;;
402403
-dr) dry_run=1 ;;
403404
-nt|--no-test) unset -v enable_unit_test ;;
@@ -452,8 +453,8 @@ ssl_hash='SHA256(openssl)= 85b562891087d4c64868d8d1f0a381407d8e23fb66c37ce9baad5
452453

453454
# Here we go ..
454455

455-
download_shellcheck
456-
download_opensslv3
456+
#download_shellcheck
457+
#download_opensslv3
457458
download_unit_test
458459
download_unit_test_help
459460

0 commit comments

Comments
 (0)
Please sign in to comment.