Skip to content

Commit

Permalink
Windows: update to OpenSSL 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed May 16, 2024
1 parent b209752 commit 77bee51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
config:
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: '4.2'}
- {os: windows-latest, r: '4.3'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'release', ssl_backend: 'openssl'}
- {os: windows-latest, r: 'devel'}
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2.2.0
- Use new EVP_MD_fetch() api on libssl 3 to find non-default algorithms.
- Add keccak() hash function
- Windows: update to OpenSSL 3.3.0

2.1.2
- MacOS: avoid linking against legacy versions of openssl
Expand Down
6 changes: 3 additions & 3 deletions tools/winlibs.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
if(!file.exists("../windows/libssl/include/openssl/pem.h")){
unlink("../windows", recursive = TRUE)
url <- if(grepl("aarch", R.version$platform)){
"https://github.com/r-windows/bundles/releases/download/openssl-3.1.2/openssl-3.1.2-clang-aarch64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/openssl-3.3.0/openssl-3.3.0-clang-aarch64.tar.xz"
} else if(grepl("clang", Sys.getenv('R_COMPILED_BY'))){
"https://github.com/r-windows/bundles/releases/download/openssl-3.1.2/openssl-3.1.2-clang-x86_64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/openssl-3.3.0/openssl-3.3.0-clang-x86_64.tar.xz"
} else if(getRversion() >= "4.2") {
"https://github.com/r-windows/bundles/releases/download/openssl-3.1.2/openssl-3.1.2-ucrt-x86_64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/openssl-3.3.0/openssl-3.3.0-ucrt-x86_64.tar.xz"
} else {
"https://github.com/rwinlib/openssl/archive/v3.1.1.tar.gz"
}
Expand Down

0 comments on commit 77bee51

Please sign in to comment.