{
    "homepage": "https://slproweb.com/products/Win32OpenSSL.html",
    "version": "3.0.20",
    "license": "Apache-2.0",
    "description": "TLS/SSL toolkit (3.0.X LTS Light)",
    "architecture": {
        "64bit": {
            "url": "https://slproweb.com/download/Win64OpenSSL_Light-3_0_20.exe",
            "hash": "36608833ce4e63ee287969e1ebd197e6d7209b0d9f69dd5a7eeb6b52e2194679"
        },
        "32bit": {
            "url": "https://slproweb.com/download/Win32OpenSSL_Light-3_0_20.exe",
            "hash": "f85d2eb79d6a3537ba661ca6d815ebadcfc39d34195a8e9435042c27aa859ee4"
        },
        "arm64": {
            "url": "https://slproweb.com/download/Win64ARMOpenSSL_Light-3_0_20.exe",
            "hash": "f981e910a83a0abee25c42630ef31fb5c1eab00402b668ae25a2d38a37ffc5b8"
        }
    },
    "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": "(3\\.0\\.([\\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"
        }
    }
}
