Quick fix for NULL sos

This commit is contained in:
Kurt Zeilenga 2002-01-03 23:25:25 +00:00
parent 1d4e2342d2
commit e60d22e3c6

View file

@ -504,6 +504,8 @@ ber_put_seqorset( BerElement *ber )
assert( ber != NULL );
assert( LBER_VALID( ber ) );
if( *sos == NULL ) return -1;
/*
* If this is the toplevel sequence or set, we need to actually
* write the stuff out. Otherwise, it's already been put in