projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cover all DSA setups when running tests
[oweals/openssl.git]
/
crypto
/
ocsp
/
ocsp_ext.c
diff --git
a/crypto/ocsp/ocsp_ext.c
b/crypto/ocsp/ocsp_ext.c
index 401cfec8b0d4f6447fe9c05cfb61cd66764674fb..d6c8899f58e02bc4694b1defffd42228723d58cb 100644
(file)
--- a/
crypto/ocsp/ocsp_ext.c
+++ b/
crypto/ocsp/ocsp_ext.c
@@
-447,7
+447,7
@@
X509_EXTENSION *OCSP_accept_responses_new(char **oids)
ASN1_OBJECT *o = NULL;
X509_EXTENSION *x = NULL;
ASN1_OBJECT *o = NULL;
X509_EXTENSION *x = NULL;
- if (!(sk = sk_ASN1_OBJECT_new
(NULL
))) goto err;
+ if (!(sk = sk_ASN1_OBJECT_new
_null(
))) goto err;
while (oids && *oids)
{
if ((nid=OBJ_txt2nid(*oids))!=NID_undef&&(o=OBJ_nid2obj(nid)))
while (oids && *oids)
{
if ((nid=OBJ_txt2nid(*oids))!=NID_undef&&(o=OBJ_nid2obj(nid)))
@@
-500,7
+500,7
@@
X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls)
if (!(sloc = OCSP_SERVICELOC_new())) goto err;
if (!(sloc->issuer = X509_NAME_dup(issuer))) goto err;
if (!(sloc = OCSP_SERVICELOC_new())) goto err;
if (!(sloc->issuer = X509_NAME_dup(issuer))) goto err;
- if (urls && *urls && !(sloc->locator = sk_ACCESS_DESCRIPTION_new
(NULL
))) goto err;
+ if (urls && *urls && !(sloc->locator = sk_ACCESS_DESCRIPTION_new
_null(
))) goto err;
while (urls && *urls)
{
if (!(ad = ACCESS_DESCRIPTION_new())) goto err;
while (urls && *urls)
{
if (!(ad = ACCESS_DESCRIPTION_new())) goto err;