Commit fa22f98f authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix building without multiblock support



Not all platforms support multiblock. Building without it fails prior to
this fix.

RT#4396

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent ebc4815f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ my @disablables = (
    "md5",
    "mdc2",
    "md[-_]ghost94",
    "multiblock",
    "nextprotoneg",
    "ocb",
    "ocsp",
+2 −2
Original line number Diff line number Diff line
@@ -450,9 +450,9 @@ int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
{
    const unsigned char *buf = buf_;
    int tot;
    unsigned int n, nw;
    unsigned int n, split_send_fragment, maxpipes;
#if !defined(OPENSSL_NO_MULTIBLOCK) && EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK
    unsigned int max_send_fragment, split_send_fragment, maxpipes;
    unsigned int max_send_fragment, nw;
    unsigned int u_len = (unsigned int)len;
#endif
    SSL3_BUFFER *wb = &s->rlayer.wbuf[0];