Remove X509_STORE's ex_data.

No functions for using it were ever added.

Change-Id: Iaee6e5bc8254a740435ccdcdbd715b851d8a0dce
Reviewed-on: https://boringssl-review.googlesource.com/4374
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-04-15 17:19:58 -04:00 committed by Adam Langley
parent 1004b9564a
commit 2ab9090b87
3 changed files with 0 additions and 8 deletions

View File

@ -487,7 +487,6 @@ enum {
CRYPTO_EX_INDEX_SSL,
CRYPTO_EX_INDEX_SSL_CTX,
CRYPTO_EX_INDEX_SSL_SESSION,
CRYPTO_EX_INDEX_X509_STORE,
CRYPTO_EX_INDEX_X509_STORE_CTX,
CRYPTO_EX_INDEX_RSA,
CRYPTO_EX_INDEX_DSA,

View File

@ -64,8 +64,6 @@
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "../internal.h"
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method)
{
@ -194,9 +192,6 @@ X509_STORE *X509_STORE_new(void)
if ((ret->param = X509_VERIFY_PARAM_new()) == NULL)
goto err;
if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509_STORE, ret, &ret->ex_data))
goto err;
ret->references = 1;
return ret;
err:
@ -264,7 +259,6 @@ void X509_STORE_free(X509_STORE *vfy)
sk_X509_LOOKUP_free(sk);
sk_X509_OBJECT_pop_free(vfy->objs, cleanup);
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509_STORE, vfy, &vfy->ex_data);
if (vfy->param)
X509_VERIFY_PARAM_free(vfy->param);
OPENSSL_free(vfy);

View File

@ -202,7 +202,6 @@ struct x509_store_st
STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
int (*cleanup)(X509_STORE_CTX *ctx);
CRYPTO_EX_DATA ex_data;
int references;
} /* X509_STORE */;