summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_both.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_both.c')
-rw-r--r--src/lib/libssl/d1_both.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c
index e94761e5d3..b5c68a1735 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.83 2022/11/26 16:08:55 tb Exp $ */ 1/* $OpenBSD: d1_both.c,v 1.84 2022/12/26 07:31:44 jmc 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.
@@ -806,7 +806,7 @@ dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok)
806 s->init_num = 0; 806 s->init_num = 0;
807 goto again; 807 goto again;
808 } 808 }
809 else /* Incorrectly formated Hello request */ 809 else /* Incorrectly formatted Hello request */
810 { 810 {
811 al = SSL_AD_UNEXPECTED_MESSAGE; 811 al = SSL_AD_UNEXPECTED_MESSAGE;
812 SSLerror(s, SSL_R_UNEXPECTED_MESSAGE); 812 SSLerror(s, SSL_R_UNEXPECTED_MESSAGE);
@@ -817,7 +817,7 @@ dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok)
817 if ((al = dtls1_preprocess_fragment(s, &msg_hdr, max))) 817 if ((al = dtls1_preprocess_fragment(s, &msg_hdr, max)))
818 goto fatal_err; 818 goto fatal_err;
819 819
820 /* XDTLS: ressurect this when restart is in place */ 820 /* XDTLS: resurrect this when restart is in place */
821 s->s3->hs.state = stn; 821 s->s3->hs.state = stn;
822 822
823 if (frag_len > 0) { 823 if (frag_len > 0) {
@@ -942,7 +942,7 @@ dtls1_buffer_message(SSL *s, int is_ccs)
942 hm_fragment *frag; 942 hm_fragment *frag;
943 unsigned char seq64be[8]; 943 unsigned char seq64be[8];
944 944
945 /* Buffer the messsage in order to handle DTLS retransmissions. */ 945 /* Buffer the message in order to handle DTLS retransmissions. */
946 946
947 /* 947 /*
948 * This function is called immediately after a message has 948 * This function is called immediately after a message has