Skip to content

Commit

Permalink
Merge pull request #152 from scientificworld/main
Browse files Browse the repository at this point in the history
fix: D Anime Store check
  • Loading branch information
lmc999 authored Sep 15, 2024
2 parents 8406625 + 2203f85 commit cb10f8c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4818,7 +4818,16 @@ function MediaUnlockTest_DAnimeStore() {
return
fi

local tmpresult=$(curl ${CURL_DEFAULT_OPTS} -sL 'https://animestore.docomo.ne.jp/animestore/reg_pc' --user-agent "${UA_BROWSER}")
local tmpresult=$(OPENSSL_CONF=<(cat <<EOF
openssl_conf = openssl_init
[openssl_init]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
Options = UnsafeLegacyServerConnect
EOF
) curl ${CURL_DEFAULT_OPTS} -sL 'https://animestore.docomo.ne.jp/animestore/reg_pc' --user-agent "${UA_BROWSER}")
if [ -z "$tmpresult" ]; then
echo -n -e "\r D Anime Store:\t\t\t\t${Font_Red}No${Font_Suffix}\n"
return
Expand Down

0 comments on commit cb10f8c

Please sign in to comment.