From c2e4ac01d6e6600df48a6e886de76bd6028fcb01 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 28 Nov 2023 08:47:31 +0100 Subject: [PATCH] public_key: Clean code Remove unused include that was included by PR for no apprent reason. Get rid of unused var warning. --- lib/public_key/test/erl_make_certs.erl | 2 +- lib/public_key/test/public_key_SUITE.erl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/public_key/test/erl_make_certs.erl b/lib/public_key/test/erl_make_certs.erl index a56c8e369185..6a91b5ec117c 100644 --- a/lib/public_key/test/erl_make_certs.erl +++ b/lib/public_key/test/erl_make_certs.erl @@ -340,7 +340,7 @@ sign_algorithm(#'RSAPrivateKey'{}, Opts) -> md2 -> ?'md2WithRSAEncryption' end, {Type, 'NULL'}; -sign_algorithm({#'RSAPrivateKey'{},#'RSASSA-PSS-params'{}=P}, Opts) -> +sign_algorithm({#'RSAPrivateKey'{},#'RSASSA-PSS-params'{}=P}, _Opts) -> {?'id-RSASSA-PSS', P}; sign_algorithm(#'DSAPrivateKey'{p=P, q=Q, g=G}, _Opts) -> {?'id-dsa-with-sha1', {params,#'Dss-Parms'{p=P, q=Q, g=G}}}; diff --git a/lib/public_key/test/public_key_SUITE.erl b/lib/public_key/test/public_key_SUITE.erl index 35aedf0aa5cf..0c8cf07fb5a2 100644 --- a/lib/public_key/test/public_key_SUITE.erl +++ b/lib/public_key/test/public_key_SUITE.erl @@ -23,7 +23,6 @@ -include_lib("common_test/include/ct.hrl"). -include_lib("public_key/include/public_key.hrl"). --include_lib("eunit/include/eunit.hrl"). -export([ suite/0,