summaryrefslogtreecommitdiff
path: root/lib/libssl/d1_both.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-11-08 22:28:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-11-08 22:28:53 +0000
commitb5c0171116390d8c026d9339e8818fc11d3ac528 (patch)
treec69d3877512ba3c6448cf3fad9d054e9fe107479 /lib/libssl/d1_both.c
parentf0d1394b9bcd3fb89a4ce301cdb802c772b3ec32 (diff)
Clean up and simplify the handshake transcript code.
This provides a cleaner, simpler and more readable API, with code that uses a BUF_MEM instead of a BIO. ok beck@ ("hurry up") and tb@.
Diffstat (limited to 'lib/libssl/d1_both.c')
-rw-r--r--lib/libssl/d1_both.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/d1_both.c b/lib/libssl/d1_both.c
index 95157630f50..f75604ef68d 100644
--- a/lib/libssl/d1_both.c
+++ b/lib/libssl/d1_both.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_both.c,v 1.55 2018/09/05 16:58:59 jsing Exp $ */
+/* $OpenBSD: d1_both.c,v 1.56 2018/11/08 22:28:52 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -360,7 +360,7 @@ dtls1_do_write(SSL *s, int type)
xlen = ret - DTLS1_HM_HEADER_LENGTH;
}
- tls1_finish_mac(s, p, xlen);
+ tls1_transcript_record(s, p, xlen);
}
if (ret == s->internal->init_num) {
@@ -436,7 +436,7 @@ again:
msg_len += DTLS1_HM_HEADER_LENGTH;
- tls1_finish_mac(s, p, msg_len);
+ tls1_transcript_record(s, p, msg_len);
if (s->internal->msg_callback)
s->internal->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, p, msg_len,
s, s->internal->msg_callback_arg);