]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/a_bmp.c
Change functions to ANSI C.
[thirdparty/openssl.git] / crypto / asn1 / a_bmp.c
index 32a4fc215803bd29c161a99fa3065ce830ba617e..2cb322ab43c843a11e56553ab7478bd2febe3eb2 100644 (file)
 /* ASN1err(ASN1_F_D2I_ASN1_BMPSTRING,ASN1_R_EXPECTING_AN_INTEGER);
  */
 
-int i2d_ASN1_BMPSTRING(a, pp)
-ASN1_BMPSTRING *a;
-unsigned char **pp;
+int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char **pp)
        {
        return(i2d_ASN1_bytes((ASN1_STRING *)a,pp,
                V_ASN1_BMPSTRING,V_ASN1_UNIVERSAL));
        }
 
-ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(a, pp, length)
-ASN1_BMPSTRING **a;
-unsigned char **pp;
-long length;
+ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, unsigned char **pp,
+            long length)
        {
        ASN1_BMPSTRING *ret=NULL;