File tree Expand file tree Collapse file tree 3 files changed +0
-8
lines changed Expand file tree Collapse file tree 3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ typedef struct lookup_dir_entry_st {
81
81
} BY_DIR_ENTRY ;
82
82
83
83
typedef struct lookup_dir_st {
84
- BUF_MEM * buffer ;
85
84
STACK_OF (BY_DIR_ENTRY ) * dirs ;
86
85
} BY_DIR ;
87
86
@@ -141,10 +140,6 @@ static int new_dir(X509_LOOKUP *lu) {
141
140
if ((a = (BY_DIR * )OPENSSL_malloc (sizeof (BY_DIR ))) == NULL ) {
142
141
return 0 ;
143
142
}
144
- if ((a -> buffer = BUF_MEM_new ()) == NULL ) {
145
- OPENSSL_free (a );
146
- return 0 ;
147
- }
148
143
a -> dirs = NULL ;
149
144
lu -> method_data = a ;
150
145
return 1 ;
@@ -175,7 +170,6 @@ static void free_dir(X509_LOOKUP *lu) {
175
170
BY_DIR * a = lu -> method_data ;
176
171
if (a != NULL ) {
177
172
sk_BY_DIR_ENTRY_pop_free (a -> dirs , by_dir_entry_free );
178
- BUF_MEM_free (a -> buffer );
179
173
OPENSSL_free (a );
180
174
}
181
175
}
Original file line number Diff line number Diff line change @@ -275,7 +275,6 @@ struct x509_lookup_method_st {
275
275
// function is then called to actually check the cert chain.
276
276
struct x509_store_st {
277
277
// The following is a cache of trusted certs
278
- int cache ; // if true, stash any hits
279
278
STACK_OF (X509_OBJECT ) * objs ; // Cache of all objects
280
279
CRYPTO_MUTEX objs_lock ;
281
280
Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ X509_STORE *X509_STORE_new(void) {
173
173
if (ret -> objs == NULL ) {
174
174
goto err ;
175
175
}
176
- ret -> cache = 1 ;
177
176
ret -> get_cert_methods = sk_X509_LOOKUP_new_null ();
178
177
if (ret -> get_cert_methods == NULL ) {
179
178
goto err ;
You can’t perform that action at this time.
0 commit comments