ABI fixes from 1.0.1-stable
authorDr. Stephen Henson <steve@openssl.org>
Thu, 23 Feb 2012 22:25:52 +0000 (22:25 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 23 Feb 2012 22:25:52 +0000 (22:25 +0000)
ssl/ssl.h

index d1a4661fb530d322c32b2e18cf429a58e69ff974..8998e9ad652c06cc9e5a61efa5a06d464798c123 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1329,12 +1329,6 @@ struct ssl_st
        unsigned char *next_proto_negotiated;
        unsigned char next_proto_negotiated_len;
 #endif
        unsigned char *next_proto_negotiated;
        unsigned char next_proto_negotiated_len;
 #endif
-       int renegotiate;/* 1 if we are renegotiating.
-                        * 2 if we are a server and are inside a handshake
-                        * (i.e. not just sending a HelloRequest) */
-#ifndef OPENSSL_NO_SRP
-       SRP_CTX srp_ctx; /* ctx for SRP authentication */
-#endif
 
 #define session_ctx initial_ctx
 
 
 #define session_ctx initial_ctx
 
@@ -1352,6 +1346,13 @@ struct ssl_st
 #define session_ctx ctx
 #endif /* OPENSSL_NO_TLSEXT */
 
 #define session_ctx ctx
 #endif /* OPENSSL_NO_TLSEXT */
 
+       int renegotiate;/* 1 if we are renegotiating.
+                        * 2 if we are a server and are inside a handshake
+                        * (i.e. not just sending a HelloRequest) */
+#ifndef OPENSSL_NO_SRP
+       SRP_CTX srp_ctx; /* ctx for SRP authentication */
+#endif
+
        /* Callback for disabling session caching and ticket support
         * on a session basis, depending on the chosen cipher. */
        int (*not_resumable_session_cb)(SSL *ssl, int is_forward_secure);
        /* Callback for disabling session caching and ticket support
         * on a session basis, depending on the chosen cipher. */
        int (*not_resumable_session_cb)(SSL *ssl, int is_forward_secure);