projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use public domain snprintf() implementation by Patrick Powell to avoid
[oweals/openssl.git]
/
crypto
/
asn1
/
asn1_par.c
diff --git
a/crypto/asn1/asn1_par.c
b/crypto/asn1/asn1_par.c
index 5a628a4bc244c3bd6e9708249f79411f0027eb33..d1e9816bad328f2781d045bd7a6d9bd7e017006e 100644
(file)
--- a/
crypto/asn1/asn1_par.c
+++ b/
crypto/asn1/asn1_par.c
@@
-273,7
+273,7
@@
static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset,
os->length) <= 0)
goto end;
}
os->length) <= 0)
goto end;
}
- ASN1_OCTET_STRING_free(os);
+
M_
ASN1_OCTET_STRING_free(os);
os=NULL;
}
}
os=NULL;
}
}
@@
-307,7
+307,7
@@
static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset,
if (BIO_write(bp,"BAD INTEGER",11) <= 0)
goto end;
}
if (BIO_write(bp,"BAD INTEGER",11) <= 0)
goto end;
}
- ASN1_INTEGER_free(bs);
+
M_
ASN1_INTEGER_free(bs);
}
else if (tag == V_ASN1_ENUMERATED)
{
}
else if (tag == V_ASN1_ENUMERATED)
{
@@
-339,7
+339,7
@@
static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset,
if (BIO_write(bp,"BAD ENUMERATED",11) <= 0)
goto end;
}
if (BIO_write(bp,"BAD ENUMERATED",11) <= 0)
goto end;
}
- ASN1_ENUMERATED_free(bs);
+
M_
ASN1_ENUMERATED_free(bs);
}
if (!nl)
}
if (!nl)
@@
-358,7
+358,7
@@
static int asn1_parse2(BIO *bp, unsigned char **pp, long length, int offset,
ret=1;
end:
if (o != NULL) ASN1_OBJECT_free(o);
ret=1;
end:
if (o != NULL) ASN1_OBJECT_free(o);
- if (os != NULL) ASN1_OCTET_STRING_free(os);
+ if (os != NULL)
M_
ASN1_OCTET_STRING_free(os);
*pp=p;
return(ret);
}
*pp=p;
return(ret);
}