From: Dr. Matthias St. Pierre Date: Tue, 24 Apr 2018 07:17:09 +0000 (+0200) Subject: x509/by_dir.c: Remove dead code X-Git-Tag: OpenSSL_1_1_1-pre6~34 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=208056b2ae41e2501f071fa134765349ddb57b3c 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) --- 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; } }