projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc13c88
)
PR: 1582
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 17 Sep 2007 17:30:01 +0000
(17:30 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 17 Sep 2007 17:30:01 +0000
(17:30 +0000)
ssl/d1_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/d1_srvr.c
b/ssl/d1_srvr.c
index 475e6095fd803d0762d460d9181780cd99a40164..ff27b4b4674704c475b4720d3c6ee506ae4aa04f 100644
(file)
--- a/
ssl/d1_srvr.c
+++ b/
ssl/d1_srvr.c
@@
-1009,6
+1009,7
@@
int dtls1_send_certificate_request(SSL *s)
STACK_OF(X509_NAME) *sk=NULL;
X509_NAME *name;
BUF_MEM *buf;
+ unsigned int msg_len;
if (s->state == SSL3_ST_SW_CERT_REQ_A)
{
@@
-1086,6
+1087,10
@@
int dtls1_send_certificate_request(SSL *s)
#endif
/* XDTLS: set message header ? */
+ msg_len = s->init_num - DTLS1_HM_HEADER_LENGTH;
+ dtls1_set_message_header(s, s->init_buf->data,
+ SSL3_MT_CERTIFICATE_REQUEST, msg_len, 0, msg_len);
+
/* buffer the message to handle re-xmits */
dtls1_buffer_message(s, 0);