diff options
author | 2015-09-11 18:08:21 +0000 | |
---|---|---|
committer | 2015-09-11 18:08:21 +0000 | |
commit | 73a156d56252d7ee0f9c37caeaea2286ab94926c (patch) | |
tree | 2c5735e0d1155ae8d0cdd16feca4bd5bf65df09e /lib/libssl/s3_both.c | |
parent | fix unchecked mallocs - coverity 130454 and 130455 (diff) | |
download | wireguard-openbsd-73a156d56252d7ee0f9c37caeaea2286ab94926c.tar.xz wireguard-openbsd-73a156d56252d7ee0f9c37caeaea2286ab94926c.zip |
Rename functions that moved to t1_enc.c, with a tls1_ prefix instead of a
ssl3_ prefix.
ok beck@
Diffstat (limited to 'lib/libssl/s3_both.c')
-rw-r--r-- | lib/libssl/s3_both.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/s3_both.c b/lib/libssl/s3_both.c index cd8afd19462..49b1e506599 100644 --- a/lib/libssl/s3_both.c +++ b/lib/libssl/s3_both.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_both.c,v 1.46 2015/09/11 16:41:05 jsing Exp $ */ +/* $OpenBSD: s3_both.c,v 1.47 2015/09/11 18:08:21 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -146,7 +146,7 @@ ssl3_do_write(SSL *s, int type) * Should not be done for 'Hello Request's, but in that case * we'll ignore the result anyway. */ - ssl3_finish_mac(s, + tls1_finish_mac(s, (unsigned char *)&s->init_buf->data[s->init_off], ret); if (ret == s->init_num) { @@ -524,7 +524,7 @@ ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok) ssl3_take_mac(s); /* Feed this message into MAC computation. */ - ssl3_finish_mac(s, (unsigned char *)s->init_buf->data, s->init_num + 4); + tls1_finish_mac(s, (unsigned char *)s->init_buf->data, s->init_num + 4); if (s->msg_callback) s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, (size_t)s->init_num + 4, s, |