projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EVP_PKEY_CTX utility functions.
[oweals/openssl.git]
/
crypto
/
x509v3
/
v3_akey.c
diff --git
a/crypto/x509v3/v3_akey.c
b/crypto/x509v3/v3_akey.c
index 652c90483ebfdd428aa893e047e31f6d8211e3ff..4690292cee08817554ee67528e5b8eed3ce14cc1 100644
(file)
--- a/
crypto/x509v3/v3_akey.c
+++ b/
crypto/x509v3/v3_akey.c
@@
-1,4
+1,3
@@
-/* v3_akey.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 1999.
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 1999.
@@
-58,11
+57,12
@@
*/
#include <stdio.h>
*/
#include <stdio.h>
-#include "cryptlib.h"
+#include "
internal/
cryptlib.h"
#include <openssl/conf.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/x509v3.h>
#include <openssl/conf.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/x509v3.h>
+#include "ext_dat.h"
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
AUTHORITY_KEYID *akeyid,
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
AUTHORITY_KEYID *akeyid,
@@
-177,12
+177,12
@@
static AUTHORITY_KEYID *v2i_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
}
}
}
}
- if (
!(akeyid = AUTHORITY_KEYID_new())
)
+ if (
(akeyid = AUTHORITY_KEYID_new()) == NULL
)
goto err;
if (isname) {
goto err;
if (isname) {
- if (
!(gens = sk_GENERAL_NAME_new_null())
- ||
!(gen = GENERAL_NAME_new())
+ if (
(gens = sk_GENERAL_NAME_new_null()) == NULL
+ ||
(gen = GENERAL_NAME_new()) == NULL
|| !sk_GENERAL_NAME_push(gens, gen)) {
X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
goto err;
|| !sk_GENERAL_NAME_push(gens, gen)) {
X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
goto err;