Skip to content

Commit

Permalink
public_key: Clean code
Browse files Browse the repository at this point in the history
Remove unused include that was included by PR for no apprent reason.
Get rid of unused var warning.
  • Loading branch information
IngelaAndin committed Nov 28, 2023
1 parent 1d486b5 commit c2e4ac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/public_key/test/erl_make_certs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}};
Expand Down
1 change: 0 additions & 1 deletion lib/public_key/test/public_key_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c2e4ac0

Please sign in to comment.