From: Bodo Möller Date: Tue, 7 Feb 2006 14:26:43 +0000 (+0000) Subject: move new member of SSL_SESSION to the end X-Git-Tag: OpenSSL_0_9_8k^2~1573 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=e67ed82877ef266cdb84caed7579afdb5f1fab71 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 9370da1625..e4534f3062 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -439,9 +439,6 @@ typedef struct ssl_session_st 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 @@ typedef struct ssl_session_st /* 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;