move new member of SSL_SESSION to the end (minimize changes to binary format) Submitted by: Peter Sylvester
diff --git a/ssl/ssl.h b/ssl/ssl.h index 9370da1..e4534f3 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h
@@ -439,9 +439,6 @@ unsigned int krb5_client_princ_len; unsigned char krb5_client_princ[SSL_MAX_KRB5_PRINCIPAL_LENGTH]; #endif /* OPENSSL_NO_KRB5 */ -#ifndef OPENSSL_NO_TLSEXT - char *tlsext_hostname; -#endif int not_resumable; @@ -475,6 +472,9 @@ /* These are used to make removal of session-ids more * efficient and to implement a maximum cache size. */ struct ssl_session_st *prev,*next; +#ifndef OPENSSL_NO_TLSEXT + char *tlsext_hostname; +#endif } SSL_SESSION;