mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
ITS#6348: Fix inverted LBER_USE_DER test in ber_put_seqorset() since rev 1.73
This commit is contained in:
parent
278880083b
commit
3a688d8d59
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue