Nov. 13, 2025
8:33 a.m.
You're right, these parameters are optional in the latest version of libgnutls. Some older versions, such as version 3.6.13. They are necessary.The gnutls_privkey_import_rsa_raw will call gnutls_x509_privkey_import_rsa_raw2. https://gitlab.com/gnutls/gnutls/-/blob/3.6.13/lib/privkey_raw.c#L359 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9447#note_121780