summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_pkt.c
diff options
context:
space:
mode:
authorjsing <>2014-06-15 15:29:25 +0000
committerjsing <>2014-06-15 15:29:25 +0000
commit2a844ef43b13fc36ea1f6191afa62385ea91a7d3 (patch)
tree419e62752148fee61938af501496eb61e95396a0 /src/lib/libssl/d1_pkt.c
parent58b0b59173dbb3943c42d0b34806b7adad2ef68c (diff)
downloadopenbsd-2a844ef43b13fc36ea1f6191afa62385ea91a7d3.tar.gz
openbsd-2a844ef43b13fc36ea1f6191afa62385ea91a7d3.tar.bz2
openbsd-2a844ef43b13fc36ea1f6191afa62385ea91a7d3.zip
Rename ssl3_record_sequence_update() to ssl3_record_sequence_increment(),
so that it reflects what it is actually doing. Use this function in a number of places that still have the hand rolled version. ok beck@ miod@
Diffstat (limited to 'src/lib/libssl/d1_pkt.c')
-rw-r--r--src/lib/libssl/d1_pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c
index 83d2d8900b..aa2185d2ed 100644
--- a/src/lib/libssl/d1_pkt.c
+++ b/src/lib/libssl/d1_pkt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_pkt.c,v 1.28 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: d1_pkt.c,v 1.29 2014/06/15 15:29:25 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -1433,7 +1433,7 @@ do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len)
1433 wr->type=type; /* not needed but helps for debugging */ 1433 wr->type=type; /* not needed but helps for debugging */
1434 wr->length += DTLS1_RT_HEADER_LENGTH; 1434 wr->length += DTLS1_RT_HEADER_LENGTH;
1435 1435
1436 ssl3_record_sequence_update(&(s->s3->write_sequence[0])); 1436 ssl3_record_sequence_increment(s->s3->write_sequence);
1437 1437
1438 /* now let's set up wb */ 1438 /* now let's set up wb */
1439 wb->left = prefix_len + wr->length; 1439 wb->left = prefix_len + wr->length;