Hallo everybody,

I apologize in advance if you will find that this message should be sent somewhere 
else. In such case just tell me where.

I have to implement some sort of a custom handshake protocol. I am trying to send 
signature of handshake message as ASN1 BIT_STRING. I got troubles with function 
i2d_ASN1_BIT_STRING. From time to time it creates one byte less than it should do. I 
could not yet figure out why. As this BIT_STRING is a part of a bit complicated ASN1 
SEQUENCE everything in this sequence becomes one byte shifted so that d2i methods can 
not find correct tags any longer. I will really appreciate if someone will tell me if 
it is something known and I miss something in the way I use all those i2d, d2i macros.

Thanx in advance,

Vadim Tarassov.

        -----------------------------------------------------------
        Vadim Tarassov
        e-Platform Solution Center
        mailto:[EMAIL PROTECTED]
        Phone +41 52 261 73 22, Fax +41 52 261 46 40
        Mobile +41 076 380 51 26
        -----------------------------------------------------------
        Winterthur Insurance
        Paulstrasse 12
        CH-8401 Winterthur
        http://www.winterthur.com/ch
        -----------------------------------------------------------


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to