From 208056b2ae41e2501f071fa134765349ddb57b3c Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Tue, 24 Apr 2018 09:17:09 +0200 Subject: [PATCH] x509/by_dir.c: Remove dead code Noticed in #5837 Reviewed-by: Bernd Edlinger Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6064) --- crypto/x509/by_dir.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index f213eec223..c883458e3c 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -385,12 +385,6 @@ static int get_cert_by_subject(X509_LOOKUP *xl, X509_LOOKUP_TYPE type, */ ERR_clear_error(); - /* - * If we were going to up the reference count, we would need to - * do it on a perl 'type' basis - */ - /*- CRYPTO_add(&tmp->data.x509->references,1, - CRYPTO_LOCK_X509);*/ goto finish; } } -- 2.25.1