cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

f49e4cf Ticket 49377 - Incoming BER too large with TLS on plain port

Authored and Committed by William Brown 6 years ago
    Ticket 49377 - Incoming BER too large with TLS on plain port
    
    Bug Description:  When doing TLS to a plain port, a message of
    "ber element 3 bytes too large for max ber" when max ber > 3.
    
    Fix Description:  When ber_len < maxber, report that the request
    may be misformed instead of "oversize" instead. This can lead
    to a better diagnosis.
    
    https://pagure.io/389-ds-base/issue/49377
    
    Author: wibrown
    
    Review by: mreynolds (thanks!)
    
    Cherry picked from commit b3629af054760d9421a41d63b8b8ed513bb6944d