libssl: Fix SSL struct again.
int main() {
SSL *ssl;
printf("sizeof SSL %lu\n", sizeof(SSL));
printf("SSL_MAX_SID_CTX_LENGTH %d\n", SSL_MAX_SID_CTX_LENGTH);
printf("offsetof generate_session_id %ld\n", offsetof(struct ssl_st, generate_session_id));
printf("offsetof mac_flags %ld\n", offsetof(struct ssl_st, mac_flags));
printf("offsetof write_hash %ld\n", offsetof(struct ssl_st, write_hash));
printf("offsetof session %ld\n", offsetof(struct ssl_st, session));
printf("offsetof error_code %ld\n", offsetof(struct ssl_st, error_code));
printf("offsetof debug %ld\n", offsetof(struct ssl_st, debug));
printf("offsetof verify_callback %ld\n", offsetof(struct ssl_st, verify_callback));
printf("offsetof ctx %ld\n", offsetof(struct ssl_st, ctx));
printf("offsetof ex_data %ld\n", offsetof(struct ssl_st, ex_data));
printf("offsetof first_packet %ld\n", offsetof(struct ssl_st, first_packet));
printf("offsetof verify_result %ld\n", offsetof(struct ssl_st, verify_result));
printf("offsetof client_CA %ld\n", offsetof(struct ssl_st, client_CA));
printf("offsetof references %ld\n", offsetof(struct ssl_st, references));
printf("offsetof tlsext_status_type %ld\n", offsetof(struct ssl_st, tlsext_status_type));
printf("offsetof tlsext_ocsp_resplen %ld\n", offsetof(struct ssl_st, tlsext_ocsp_resplen));
printf("offsetof tlsext_ecpointformatlist %ld\n", offsetof(struct ssl_st, tlsext_ecpointformatlist));
printf("offsetof tls_session_ticket_ext_cb_arg %ld\n", offsetof(struct ssl_st, tls_session_ticket_ext_cb_arg));
printf("offsetof next_proto_negotiated %ld\n", offsetof(struct ssl_st, next_proto_negotiated));
printf("offsetof alpn_client_proto_list_len %ld\n", offsetof(struct ssl_st, alpn_client_proto_list_len));
printf("offsetof srp_ctx %ld\n", offsetof(struct ssl_st, srp_ctx));
return 0;
}
clang ssl.c -I /usr/local/opt/openssl/include && ./a.out