Signed-off-by: Funda Wang <fundawang@yeah.net>
sni-resume.sh ocsp-tests/ocsptool.sh cert-reencoding.sh pkcs7-cat.sh long-crl.sh \
serv-udp.sh logfile-option.sh gnutls-cli-resume.sh profile-tests.sh \
server-weak-keys.sh ocsp-tests/ocsp-signer-verify.sh cfg-test.sh \
- sanity-lib.sh gnutls-cli-earlydata.sh
+ gnutls-cli-earlydata.sh
+
+if ENABLE_TPM2
+if TPM2_ENABLE_DLOPEN
+dist_check_SCRIPTS += sanity-lib.sh
+endif
+else
+dist_check_SCRIPTS += sanity-lib.sh
+endif
if !DISABLE_SYSTEM_CONFIG
dist_check_SCRIPTS += system-override-sig.sh system-override-hash.sh \