diff options
| author | jsing <> | 2021-06-11 11:13:53 +0000 |
|---|---|---|
| committer | jsing <> | 2021-06-11 11:13:53 +0000 |
| commit | 0d4fee786d0c2ca62db1b16cf880153b0c24a292 (patch) | |
| tree | 9d771736dfbd202dc6e37f187e50d48e657b90db /src/lib/libssl/d1_both.c | |
| parent | b13c23af7ac4f336b5727d967e765eabb0deb560 (diff) | |
| download | openbsd-0d4fee786d0c2ca62db1b16cf880153b0c24a292.tar.gz openbsd-0d4fee786d0c2ca62db1b16cf880153b0c24a292.tar.bz2 openbsd-0d4fee786d0c2ca62db1b16cf880153b0c24a292.zip | |
Indent all labels with a single space.
This ensures that diff reports the correct function prototype.
Prompted by tb@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_both.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 9b06d37947..ad7c03b518 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_both.c,v 1.72 2021/05/16 14:10:43 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.73 2021/06/11 11:13:53 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. |
| @@ -396,7 +396,7 @@ dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok) | |||
| 396 | msg_hdr = &D1I(s)->r_msg_hdr; | 396 | msg_hdr = &D1I(s)->r_msg_hdr; |
| 397 | memset(msg_hdr, 0, sizeof(struct hm_header_st)); | 397 | memset(msg_hdr, 0, sizeof(struct hm_header_st)); |
| 398 | 398 | ||
| 399 | again: | 399 | again: |
| 400 | i = dtls1_get_message_fragment(s, st1, stn, max, ok); | 400 | i = dtls1_get_message_fragment(s, st1, stn, max, ok); |
| 401 | if (i == DTLS1_HM_BAD_FRAGMENT || | 401 | if (i == DTLS1_HM_BAD_FRAGMENT || |
| 402 | i == DTLS1_HM_FRAGMENT_RETRY) /* bad fragment received */ | 402 | i == DTLS1_HM_FRAGMENT_RETRY) /* bad fragment received */ |
| @@ -644,7 +644,7 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) | |||
| 644 | 644 | ||
| 645 | return DTLS1_HM_FRAGMENT_RETRY; | 645 | return DTLS1_HM_FRAGMENT_RETRY; |
| 646 | 646 | ||
| 647 | err: | 647 | err: |
| 648 | if (item == NULL && frag != NULL) | 648 | if (item == NULL && frag != NULL) |
| 649 | dtls1_hm_fragment_free(frag); | 649 | dtls1_hm_fragment_free(frag); |
| 650 | *ok = 0; | 650 | *ok = 0; |
| @@ -731,7 +731,7 @@ dtls1_process_out_of_seq_message(SSL *s, struct hm_header_st* msg_hdr, int *ok) | |||
| 731 | 731 | ||
| 732 | return DTLS1_HM_FRAGMENT_RETRY; | 732 | return DTLS1_HM_FRAGMENT_RETRY; |
| 733 | 733 | ||
| 734 | err: | 734 | err: |
| 735 | if (item == NULL && frag != NULL) | 735 | if (item == NULL && frag != NULL) |
| 736 | dtls1_hm_fragment_free(frag); | 736 | dtls1_hm_fragment_free(frag); |
| 737 | *ok = 0; | 737 | *ok = 0; |
| @@ -747,7 +747,7 @@ dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok) | |||
| 747 | int i, al; | 747 | int i, al; |
| 748 | struct hm_header_st msg_hdr; | 748 | struct hm_header_st msg_hdr; |
| 749 | 749 | ||
| 750 | again: | 750 | again: |
| 751 | /* see if we have the required fragment already */ | 751 | /* see if we have the required fragment already */ |
| 752 | if ((frag_len = dtls1_retrieve_buffered_fragment(s, max, ok)) || *ok) { | 752 | if ((frag_len = dtls1_retrieve_buffered_fragment(s, max, ok)) || *ok) { |
| 753 | if (*ok) | 753 | if (*ok) |
