Upgrade openssl to a more recent version when building YARA with Bazel.
The previous version enters an infinite loop when calling d2i_PKCS7 with PE file
@@ -36,9 +36,9 @@ def yara_deps():
maybe(
http_archive,
name = "openssl",
- url = "https://github.com/openssl/openssl/archive/OpenSSL_1_1_0h.tar.gz",
- sha256 = "f56dd7d81ce8d3e395f83285bd700a1098ed5a4cb0a81ce9522e41e6db7e0389",
- strip_prefix = "openssl-OpenSSL_1_1_0h",
+ url = "https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1n.tar.gz",
+ sha256 = "6b2d2440ced8c802aaa61475919f0870ec556694c466ebea460e35ea2b14839e",
+ strip_prefix = "openssl-OpenSSL_1_1_1n",
build_file = "@com_github_virustotal_yara//:bazel/openssl.BUILD",
)
maybe(
