summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authordoug <>2015-07-18 23:00:23 +0000
committerdoug <>2015-07-18 23:00:23 +0000
commite366c0d2b96f85bfa547d0cd2b0a6ef288e210b0 (patch)
treef8a8a883ea90e1f11546a703f19d3a42b5d5ce4e /src/lib/libssl/ssl_locl.h
parentb1666a49de4a63721dfe908382f49ced9758237a (diff)
downloadopenbsd-e366c0d2b96f85bfa547d0cd2b0a6ef288e210b0.tar.gz
openbsd-e366c0d2b96f85bfa547d0cd2b0a6ef288e210b0.tar.bz2
openbsd-e366c0d2b96f85bfa547d0cd2b0a6ef288e210b0.zip
Convert dtls1_get_message_header to CBS and change to int.
Changed return value from void to int. It should never return an error given that the input length is not checked yet. ok miod@
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 3256354463..ba8fc79964 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.96 2015/07/17 17:36:24 doug Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.97 2015/07/18 23:00:23 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -694,7 +694,7 @@ int dtls1_retransmit_message(SSL *s, unsigned short seq,
694int dtls1_get_queue_priority(unsigned short seq, int is_ccs); 694int dtls1_get_queue_priority(unsigned short seq, int is_ccs);
695int dtls1_retransmit_buffered_messages(SSL *s); 695int dtls1_retransmit_buffered_messages(SSL *s);
696void dtls1_clear_record_buffer(SSL *s); 696void dtls1_clear_record_buffer(SSL *s);
697void dtls1_get_message_header(unsigned char *data, 697int dtls1_get_message_header(unsigned char *data,
698 struct hm_header_st *msg_hdr); 698 struct hm_header_st *msg_hdr);
699void dtls1_get_ccs_header(unsigned char *data, struct ccs_header_st *ccs_hdr); 699void dtls1_get_ccs_header(unsigned char *data, struct ccs_header_st *ccs_hdr);
700void dtls1_reset_seq_numbers(SSL *s, int rw); 700void dtls1_reset_seq_numbers(SSL *s, int rw);