{
    "homepage": "https://slproweb.com/products/Win32OpenSSL.html",
    "version": "4.0.0",
    "license": "Apache-2.0",
    "description": "TLS/SSL toolkit (Light)",
    "architecture": {
        "64bit": {
            "url": "https://slproweb.com/download/Win64OpenSSL_Light-4_0_0.exe",
            "hash": "539588b195f660e7fb32f2ed11e9d0c729ce71c975f89cc7f74b3b6e80e45f9e"
        },
        "32bit": {
            "url": "https://slproweb.com/download/Win32OpenSSL_Light-4_0_0.exe",
            "hash": "c14d48976d8b9e724a0d8237281f4248f96dee0c56b4194f1b4365ca20ebe30d"
        },
        "arm64": {
            "url": "https://slproweb.com/download/Win64ARMOpenSSL_Light-4_0_0.exe",
            "hash": "aee7e5541e0b00f94c8342e86a46eaec27325019e81dfe593f6b7d073a69625f"
        }
    },
    "depends": "innounp",
    "installer": {
        "script": [
            "Expand-InnoArchive -Path \"$dir\\$fname\"",
            "Expand-InnoArchive -Path \"$dir\\$fname\" -DestinationPath \"$dir\\bin\" -ExtractDir '{cf}' -Removal",
            "Rename-Item \"$dir\\bin\\SSL\" 'cnf' -Force"
        ]
    },
    "bin": "bin\\openssl.exe",
    "env_set": {
        "OPENSSL_CONF": "$dir\\bin\\cnf\\openssl.cnf"
    },
    "checkver": {
        "url": "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json",
        "jsonpath": "$.files..basever",
        "regex": "([\\d.]+)",
        "reverse": true
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://slproweb.com/download/Win64OpenSSL_Light-$underscoreVersion.exe"
            },
            "32bit": {
                "url": "https://slproweb.com/download/Win32OpenSSL_Light-$underscoreVersion.exe"
            },
            "arm64": {
                "url": "https://slproweb.com/download/Win64ARMOpenSSL_Light-$underscoreVersion.exe"
            }
        },
        "hash": {
            "url": "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json",
            "jsonpath": "$.files.['$basename'].sha256"
        }
    }
}
