https://bugs.winehq.org/show_bug.cgi?id=37500
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- Thank you, despite of a small error in my patch I can see the problem so the error can be seen (fixed output due to patch error):
trace:secur32:schan_EncryptMessage Sent 16368/16384 bytes. trace:secur32:schan_EncryptMessage Expected to send 16384 bytes, sent only 16368 ... warn:wininet:send_ssl_chunk EncryptMessage failed
From the gnutls_record_send man page:
Returns: The number of bytes sent, or a negative error code. The number of bytes sent might be less than data_size . The maximum number of bytes this function can send in a single call depends on the negotiated maximum record size.
I don't know how to check for the "negotiated maximum record size". I believe now that this will not work even in previous versions of wine, my guess is that you now have so much stuff in evernote (or an upgrade in the software requires more data to be sent to the server) that a too large packet is required to be sent and gnutls (or kernel or something else) can't cope with that. It may also related to the buffer size in the socket used by gnutls, will have to study further.