#4852·Bottles

[Bug]: # Soda 11.0-10: .NET Framework TLS renegotiation fails with NULL input; experimental Schannel fix tested successfully

Author: BiotudCreated Sep 23, 2026Updated Sep 23, 2026

Describe the bug

I was trying to get a program working "KMD Puls" which failed, I have no programming skills, but chatGPT managed to do a minor change, which fixed the problem. The relevant logs and changes are uploaded in the zip files for review. If it's all garbage, just ignore. But it helped me :)

bottles-puls-tls-report.zip

A 32-bit .NET Framework application (KMD PULS) fails when contacting an HTTPS service that requests TLS 1.2 renegotiation after receiving the HTTP request. The initial handshake and server certificate validation succeed.

A small experimental change to dlls/secur32/schannel.c fixes the isolated HTTP reproduction. The user subsequently tested the actual application and reported successful login and that it works. That application result is a user confirmation, not an independently captured application trace or full test suite.

Could the Soda/Wine maintainers review this change and advise on an upstream regression test and the appropriate submission route?

To Reproduce

As far as I understand everything should be in the logs.

Package

Flatpak from Flathub

Distribution

Debian 13

Debugging Information

bash
Official Package: true
Version: '67.3'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
    Vulkan: true
Kernel:
    Type: Linux
    Version: 7.1.8+deb13-amd64
Disk:
    Total: 7248490496
    Free: 7248322560
RAM:
    MemTotal: 13.5GiB
    MemAvailable: 7.0GiB
Bottles_envs: null

Troubleshooting Logs

bash

Additional context

No response