Skip to content
Snippets Groups Projects
Commit eabc108a authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6348

parent 20953694
No related branches found
No related tags found
No related merge requests found
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.20 Engineering
Fixed liblber inverted LBER_USE_DER test (ITS#6348)
Fixed liblber to return failure on certain failures (ITS#6344)
Fixed libldap uninitialized return value (ITS#6355)
Fixed liblutil constant (ITS#5909)
......
......@@ -455,7 +455,7 @@ ber_put_seqorset( BerElement *ber )
/* Store length, and close gap of leftover reserved length octets */
len = xlen - SOS_LENLEN;
if ( ber->ber_options & LBER_USE_DER ) {
if ( !(ber->ber_options & LBER_USE_DER) ) {
int i;
lenptr[0] = SOS_LENLEN - 1 + 0x80; /* length(length)-1 */
for( i = SOS_LENLEN; --i > 0; len >>= 8 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment