This array needs to be large enough to hold all the possible values support by NeoMutt. More...
Inheritance diagram for TlsSockData:
Collaboration diagram for TlsSockData:Data Fields | |
| gnutls_session_t | session |
| GNUTLS session. | |
| gnutls_certificate_credentials_t | xcred |
| GNUTLS certificate credentials. | |
Data Fields inherited from Connection | |
| struct ConnAccount | account |
| Account details: username, password, etc. | |
| unsigned int | ssf |
| Security strength factor, in bits (see notes) | |
| char | inbuf [1024] |
| Buffer for incoming traffic. | |
| int | bufpos |
| Current position in the buffer. | |
| int | fd |
| Socket file descriptor. | |
| int | available |
| Amount of data waiting to be read. | |
| void * | sockdata |
| Backend-specific socket data. | |
| int(* | open )(struct Connection *conn) |
| int(* | read )(struct Connection *conn, char *buf, size_t count) |
| int(* | write )(struct Connection *conn, const char *buf, size_t count) |
| int(* | poll )(struct Connection *conn, time_t wait_secs) |
| int(* | close )(struct Connection *conn) |
This array needs to be large enough to hold all the possible values support by NeoMutt.
The initialized values are just placeholders–the array gets overwrriten in tls_negotiate() depending on the $ssl_use_* options.
Note: gnutls_protocol_set_priority() was removed in GnuTLS version 3.4 (2015-04). TLS 1.3 support wasn't added until version 3.6.5. Therefore, no attempt is made to support $ssl_use_tlsv1_3 in this code. TLS socket data -
| gnutls_certificate_credentials_t TlsSockData::xcred |