Skip to content

Commit 94269ab

Browse files
authored
Disable uplink in OpenSSL instead of patching (#227)
1 parent e2e4113 commit 94269ab

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

windows-release/openssl-build.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,9 @@ jobs:
6565
git clone ${{ parameters.SourcesRepo }} -b ${{ parameters.SourceTag }} --depth 1 .
6666
displayName: 'Check out OpenSSL sources'
6767
68-
- powershell: |
69-
$f = gi ms\uplink.c
70-
$c1 = gc $f
71-
$c2 = $c1 -replace '\(\(h = GetModuleHandle\(NULL\)\) == NULL\)', '((h = GetModuleHandleA("_ssl.pyd")) == NULL) if ((h = GetModuleHandleA("_ssl_d.pyd")) == NULL) if ((h = GetModuleHandle(NULL)) == NULL /*patched*/)'
72-
if ($c2 -ne $c1) {
73-
$c2 | Out-File $f -Encoding ASCII
74-
} else {
75-
Write-Host '##warning Failed to patch uplink.c'
76-
}
77-
displayName: 'Apply uplink.c patch'
78-
7968
- script: |
8069
call "$(vcvarsall)" $(VCPlatform)
81-
perl "$(Build.SourcesDirectory)\Configure" $(OpenSSLPlatform)
70+
perl "$(Build.SourcesDirectory)\Configure" $(OpenSSLPlatform) no-uplink
8271
nmake
8372
workingDirectory: '$(IntDir)'
8473
displayName: 'Build OpenSSL'

0 commit comments

Comments
 (0)