Skip to content

druntime: add modern SChannel / SSPI / wincrypt bindings (Win10 1809+)#23078

Merged
thewilsonator merged 1 commit intodlang:masterfrom
CyberShadow:druntime-schannel-modern-bindings
May 7, 2026
Merged

druntime: add modern SChannel / SSPI / wincrypt bindings (Win10 1809+)#23078
thewilsonator merged 1 commit intodlang:masterfrom
CyberShadow:druntime-schannel-modern-bindings

Conversation

@CyberShadow
Copy link
Copy Markdown
Member

@CyberShadow CyberShadow commented May 6, 2026

Add SCH_CREDENTIALS, TLS_PARAMETERS, CRYPTO_SETTINGS, eTlsAlgorithmUsage, SP_PROT_TLS1_1/2/3, and supporting constants for modern SChannel TLS 1.2 / 1.3 usage. Add PFXImportCertStore, CertGetNameStringA/W, CertCreateCertificateContext, and CertAddCertificateContextToStore to wincrypt. Fill out PKCS12_* and CERT_NAME_*_TYPE constant clusters. Extend SECBUFFER_* with SECBUFFER_ALERT.

Add SCH_CREDENTIALS, TLS_PARAMETERS, CRYPTO_SETTINGS,
eTlsAlgorithmUsage, SP_PROT_TLS1_1/2/3, and supporting constants for
modern SChannel TLS 1.2 / 1.3 usage. Add PFXImportCertStore,
CertGetNameStringA/W, CertCreateCertificateContext, and
CertAddCertificateContextToStore to wincrypt. Fill out PKCS12_* and
CERT_NAME_*_TYPE constant clusters. Extend SECBUFFER_* with
SECBUFFER_ALERT.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@CyberShadow
Copy link
Copy Markdown
Member Author

CyberShadow commented May 6, 2026

Error: MS-Coff object module `loader_1223_83b.obj` has magic = 2ce9, should be 8664

Not sure what this error is but doesn't seem related to these changes?

@thewilsonator thewilsonator merged commit 0bb3999 into dlang:master May 7, 2026
36 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants