Implement the Opaque PRF Input TLS extension
[oweals/openssl.git] / ssl / ssl3.h
index 0543cb287ebc5a7b41875069ce310c114cbb669f..29cd3da860fc68d41ef2cef0a50fa3da7a07e3a2 100644 (file)
@@ -443,6 +443,14 @@ typedef struct ssl3_state_st
 
        int in_read_app_data;
 
+       /* Opaque PRF input as used for the current handshake.
+        * These fields are used only if TLSEXT_TYPE_opaque_prf_input is defined
+        * (otherwise, they are merely present to improve binary compatibility) */
+       void *client_opaque_prf_input;
+       size_t client_opaque_prf_input_len;
+       void *server_opaque_prf_input;
+       size_t server_opaque_prf_input_len;
+
        struct  {
                /* actually only needs to be 16+20 */
                unsigned char cert_verify_md[EVP_MAX_MD_SIZE*2];