Loading ssl/packet.c +1 −1 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) { if (!WPACKET_reserve_bytes(pkt, len, allocbytes)) return 0; pkt->written += len; pkt->curr += len; return 1; } Loading ssl/statem/statem_srvr.c +1 −0 Original line number Diff line number Diff line Loading @@ -1813,6 +1813,7 @@ int tls_construct_server_key_exchange(SSL *s) */ if ((i == 2) && (type & (SSL_kDHE | SSL_kDHEPSK))) { size_t len = BN_num_bytes(r[0]) - BN_num_bytes(r[2]); if (len > 0) { if (!WPACKET_allocate_bytes(&pkt, len, &binval)) { SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE, Loading Loading
ssl/packet.c +1 −1 Original line number Diff line number Diff line Loading @@ -16,9 +16,9 @@ int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) { if (!WPACKET_reserve_bytes(pkt, len, allocbytes)) return 0; pkt->written += len; pkt->curr += len; return 1; } Loading
ssl/statem/statem_srvr.c +1 −0 Original line number Diff line number Diff line Loading @@ -1813,6 +1813,7 @@ int tls_construct_server_key_exchange(SSL *s) */ if ((i == 2) && (type & (SSL_kDHE | SSL_kDHEPSK))) { size_t len = BN_num_bytes(r[0]) - BN_num_bytes(r[2]); if (len > 0) { if (!WPACKET_allocate_bytes(&pkt, len, &binval)) { SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE, Loading