Skip to content

Commit 5e20729

Browse files
committed
Fix failing polarssl download
1 parent d5fb78b commit 5e20729

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/015-polarssl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ ARCH="powerpc64"
3232
PLATFORM="PS3"
3333

3434
## Download the source code.
35-
wget --continue --no-check-certificate -O polarssl-${VERSION}.gpl.tgz https://polarssl.org/download/polarssl-${VERSION}-gpl.tgz?do=yes
35+
wget --continue --no-check-certificate -O polarssl-${VERSION}.tgz https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/polarssl-${VERSION}.tar.gz
3636

3737
## Unpack the source code.
38-
rm -Rf polarssl-${VERSION} && tar xfvz polarssl-${VERSION}.gpl.tgz && cd polarssl-${VERSION}/library
38+
rm -Rf polarssl-${VERSION} && tar xfvz polarssl-${VERSION}.tgz && cd mbedtls-polarssl-${VERSION}/library
3939

4040
## Patch the source code.
4141
echo "Patching net.c and timing.c for compatibility..."
@@ -45,7 +45,7 @@ cat ../../../patches/polarssl-1.2.8-timing.patch | patch -p1
4545
echo "Building polarssl for ${PLATFORM} ${SDKVERSION} ${ARCH}"
4646

4747
echo "Patching Makefile..."
48-
sed -i.bak '4d' ${CURRENTPATH}/polarssl-${VERSION}/library/Makefile
48+
sed -i.bak '4d' ${CURRENTPATH}/mbedtls-polarssl-${VERSION}/library/Makefile
4949

5050
echo "Please stand by..."
5151

0 commit comments

Comments
 (0)