代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/gnutls 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From a7b126acd4793ced574acb68bdbf5c6a48bb4ad5 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@gnu.org>
Date: Wed, 23 Sep 2020 09:34:09 +0200
Subject: [PATCH] tests: remove launch_pkcs11_server
This function is only used by testpkcs11.sh.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
---
tests/scripts/common.sh | 11 -----------
tests/testpkcs11.sh | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/tests/scripts/common.sh b/tests/scripts/common.sh
index 6ae19fa..5e6f91b 100644
--- a/tests/scripts/common.sh
+++ b/tests/scripts/common.sh
@@ -168,17 +168,6 @@ launch_server() {
${SERV} ${DEBUG} -p "${PORT}" $* >${LOGFILE-/dev/null} &
}
-launch_pkcs11_server() {
- PARENT="$1"
- shift
- PROVIDER="$1"
- shift
-
- wait_for_free_port ${PORT}
-
- ${VALGRIND} ${SERV} ${PROVIDER} ${DEBUG} -p "${PORT}" $* &
-}
-
launch_bare_server() {
PARENT="$1"
shift
diff --git a/tests/testpkcs11.sh b/tests/testpkcs11.sh
index 9458af2..b69e312 100755
--- a/tests/testpkcs11.sh
+++ b/tests/testpkcs11.sh
@@ -900,7 +900,7 @@ use_certificate_test () {
echo -n "* Using PKCS #11 with gnutls-cli (${txt})... "
# start server
eval "${GETPORT}"
- launch_pkcs11_server $$ "${ADDITIONAL_PARAM}" --echo --priority NORMAL --x509certfile="${certfile}" \
+ launch_server ${ADDITIONAL_PARAM} --echo --priority NORMAL --x509certfile="${certfile}" \
--x509keyfile="$keyfile" --x509cafile="${cafile}" \
--verify-client-cert --require-client-cert >>"${LOGFILE}" 2>&1
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。