diff options
| author | jsing <> | 2014-06-15 15:29:25 +0000 |
|---|---|---|
| committer | jsing <> | 2014-06-15 15:29:25 +0000 |
| commit | 9be7e7bd1ae9394593279375d527cc09e612e8d1 (patch) | |
| tree | 419e62752148fee61938af501496eb61e95396a0 /src/lib/libssl/d1_pkt.c | |
| parent | ce091e871c74c0733db0cfb2d607b7a4b6608bfd (diff) | |
| download | openbsd-9be7e7bd1ae9394593279375d527cc09e612e8d1.tar.gz openbsd-9be7e7bd1ae9394593279375d527cc09e612e8d1.tar.bz2 openbsd-9be7e7bd1ae9394593279375d527cc09e612e8d1.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.c | 4 |
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; |
