fix DTLS server key w/ DHE

This commit is contained in:
Todd A Ouska 2011-05-16 14:12:23 -07:00
parent b626fd6530
commit a2f734c3b8

View File

@ -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 */