fix DTLS server key w/ DHE
This commit is contained in:
parent
b626fd6530
commit
a2f734c3b8
@ -4652,6 +4652,7 @@ int SetCipherList(SSL_CTX* ctx, const char* list)
|
||||
if (ssl->options.dtls) {
|
||||
sendSz += DTLS_RECORD_EXTRA + DTLS_HANDSHAKE_EXTRA;
|
||||
idx += DTLS_RECORD_EXTRA + DTLS_HANDSHAKE_EXTRA;
|
||||
preSigIdx = idx;
|
||||
}
|
||||
#endif
|
||||
/* check for avalaible size */
|
||||
@ -4833,6 +4834,7 @@ int SetCipherList(SSL_CTX* ctx, const char* list)
|
||||
if (ssl->options.dtls) {
|
||||
sendSz += DTLS_RECORD_EXTRA + DTLS_HANDSHAKE_EXTRA;
|
||||
idx += DTLS_RECORD_EXTRA + DTLS_HANDSHAKE_EXTRA;
|
||||
preSigIdx = idx;
|
||||
}
|
||||
#endif
|
||||
/* check for avalaible size */
|
||||
|
Loading…
Reference in New Issue
Block a user