You can get this error if the ASN.1 encoder runs out of buffer space. For simplicity we use static buffers mostly everywhere, but this is mostly not a problem. Can you figure out where this happens? /Johan