summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-08-31 12:42:53 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-08-31 12:42:53 +0000
commit81025661a94034fef1386cb5d5137ba4ddb120f0 (patch)
treecde73075708fe40deb5c7dfcd0c03861794599cf /ssl/ssl3.h
parent4ece7eb6f4d396008d8b4ee6beb6dca409d84882 (diff)
Update ssl code to support digests other than MD5+SHA1 in handshake.
Submitted by: Victor B. Wagner <vitus@cryptocom.ru>
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r--ssl/ssl3.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index 71ba3068b1..0543cb287e 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -419,9 +419,11 @@ typedef struct ssl3_state_st
const unsigned char *wpend_buf;
/* used during startup, digest all incoming/outgoing packets */
- EVP_MD_CTX finish_dgst1;
- EVP_MD_CTX finish_dgst2;
-
+ BIO *handshake_buffer;
+ /* When set of handshake digests is determined, buffer is hashed
+ * and freed and MD_CTX-es for all required digests are stored in
+ * this array */
+ EVP_MD_CTX **handshake_dgst;
/* this is set whenerver we see a change_cipher_spec message
* come in when we are not looking for one */
int change_cipher_spec;