~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/asn1/a_hdr.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213213742-d0ydaylf80l16bj1
Tags: upstream-0.9.8a
ImportĀ upstreamĀ versionĀ 0.9.8a

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        M_ASN1_I2D_finish();
77
77
        }
78
78
 
79
 
ASN1_HEADER *d2i_ASN1_HEADER(ASN1_HEADER **a, unsigned char **pp,
 
79
ASN1_HEADER *d2i_ASN1_HEADER(ASN1_HEADER **a, const unsigned char **pp,
80
80
             long length)
81
81
        {
82
82
        M_ASN1_D2I_vars(a,ASN1_HEADER *,ASN1_HEADER_new);
83
83
 
84
84
        M_ASN1_D2I_Init();
85
85
        M_ASN1_D2I_start_sequence();
86
 
        M_ASN1_D2I_get(ret->header,d2i_ASN1_OCTET_STRING);
 
86
        M_ASN1_D2I_get_x(ASN1_OCTET_STRING,ret->header,d2i_ASN1_OCTET_STRING);
87
87
        if (ret->meth != NULL)
88
88
                {
89
 
                M_ASN1_D2I_get(ret->data,ret->meth->d2i);
 
89
                M_ASN1_D2I_get_x(void,ret->data,ret->meth->d2i);
90
90
                }
91
91
        else
92
92
                {