func: int main() u_char * comp_dn , * comp_dn2 ; comp_dn = ( unsigned char * ) malloc ( 200 * sizeof ( unsigned char ) ); comp_size = dn_comp ( ( const char * ) exp_dn , comp_dn , 200 , dnptrs , lastdnptr ); printf ( "comp_size = %d\n" , comp_size ); printf ( "exp_dn = %s, comp_dn = %s\n" , exp_dn , ( char * ) comp_dn ); for(i=0; i<comp_size; i++) * p ++ = * comp_dn ++; len += comp_size; PUTSHORT ( T_A , p ); PUTSHORT ( C_IN , p ); PUTLONG ( 255 , p ); PUTSHORT ( 4 , p ); PUTSHORT ( 255 , p ); PUTSHORT ( 255 , p ); len += 14; printf ( "len = %d\n" , len ); for(i=0; i<len; i++, p++)  /* write record into file fputc(*p, f); 