summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-03-01 21:04:41 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-03-01 22:25:40 +0000
commit359aa38fbeecd920a60c739c64cda06fe295684f (patch)
tree75e2302c2e6fdb76ff086d4556cf7d23a8d4ac27 /crypto/x509
parent83f0e802abf4e3f9b4f3e815cf81c41637cb79f1 (diff)
remove old unused oneline name field
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x_x509.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/x509/x_x509.c b/crypto/x509/x_x509.c
index c6ef840942..09004ef604 100644
--- a/crypto/x509/x_x509.c
+++ b/crypto/x509/x_x509.c
@@ -89,7 +89,6 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
switch (operation) {
case ASN1_OP_NEW_POST:
- ret->name = NULL;
ret->ex_flags = 0;
ret->ex_pathlen = -1;
ret->skid = NULL;
@@ -103,11 +102,6 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data);
break;
- case ASN1_OP_D2I_POST:
- OPENSSL_free(ret->name);
- ret->name = X509_NAME_oneline(ret->cert_info.subject, NULL, 0);
- break;
-
case ASN1_OP_FREE_POST:
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data);
X509_CERT_AUX_free(ret->aux);
@@ -121,7 +115,6 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
sk_IPAddressFamily_pop_free(ret->rfc3779_addr, IPAddressFamily_free);
ASIdentifiers_free(ret->rfc3779_asid);
#endif
- OPENSSL_free(ret->name);
break;
}