aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x_x509.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-08-02 15:29:31 +0100
committerMatt Caswell <matt@openssl.org>2017-08-21 08:44:44 +0100
commit888098304b0a77aee2d5ca5951ee5fccfeb6b1c2 (patch)
tree6f0e8a65eb1d46c68d1f5bdcd9da1d2ffd9a11fe /crypto/x509/x_x509.c
parent638c2dd0ab504e22af08e4d56b43959a8be2382e (diff)
downloadopenssl-888098304b0a77aee2d5ca5951ee5fccfeb6b1c2.tar.gz
More updates following review feedback
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3740)
Diffstat (limited to 'crypto/x509/x_x509.c')
-rw-r--r--crypto/x509/x_x509.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/x509/x_x509.c b/crypto/x509/x_x509.c
index b45944851d..f83ebed175 100644
--- a/crypto/x509/x_x509.c
+++ b/crypto/x509/x_x509.c
@@ -145,9 +145,6 @@ static int i2d_x509_aux_internal(X509 *a, unsigned char **pp)
int length, tmplen;
unsigned char *start = pp != NULL ? *pp : NULL;
- if (!ossl_assert(pp == NULL || *pp != NULL))
- return -1;
-
/*
* This might perturb *pp on error, but fixing that belongs in i2d_X509()
* not here. It should be that if a == NULL length is zero, but we check