Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
1631-ssl-Align-code-style.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1631-ssl-Align-code-style.patch of Package erlang
From 9ef9400820f1a32fb531981742c817277c6e0f7f Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin <ingela@erlang.org> Date: Tue, 12 Mar 2024 10:15:22 +0100 Subject: [PATCH 1/3] ssl: Align code style --- lib/ssl/src/ssl_handshake.erl | 78 ++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 20 deletions(-) diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index 92ca08ea69..1b1fd0f181 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -34,8 +34,10 @@ -include("tls_handshake_1_3.hrl"). -include_lib("public_key/include/public_key.hrl"). --export_type([ssl_handshake/0, ssl_handshake_history/0, - public_key_info/0, oid/0]). +-export_type([ssl_handshake/0, + ssl_handshake_history/0, + public_key_info/0, + oid/0]). -type oid() :: tuple(). -type public_key_params() :: #'Dss-Parms'{} | {namedCurve, oid()} | #'ECParameters'{} | term(). @@ -47,31 +49,59 @@ #hello_request{} | #next_protocol{} | #end_of_early_data{}. %% Create handshake messages --export([hello_request/0, server_hello/4, server_hello_done/0, - certificate/4, client_certificate_verify/6, certificate_request/5, key_exchange/3, - finished/5, next_protocol/1, digitally_signed/5, +-export([hello_request/0, + server_hello/4, + server_hello_done/0, + certificate/4, + client_certificate_verify/6, + certificate_request/5, + key_exchange/3, + finished/5, + next_protocol/1, + digitally_signed/5, certificate_authorities/2]). %% Handle handshake messages --export([certify/9, certificate_verify/6, verify_signature/5, - master_secret/4, server_key_exchange_hash/2, verify_connection/6, - init_handshake_history/0, update_handshake_history/2, verify_server_key/5, - select_version/3, select_supported_version/2, extension_value/1 +-export([certify/9, + certificate_verify/6, + verify_signature/5, + master_secret/4, + server_key_exchange_hash/2, + verify_connection/6, + init_handshake_history/0, + update_handshake_history/2, + verify_server_key/5, + select_version/3, + select_supported_version/2, + extension_value/1 ]). %% Encode --export([encode_handshake/2, encode_hello_extensions/1, encode_extensions/1, encode_extensions/2, - encode_client_protocol_negotiation/2, encode_protocols_advertised_on_server/1]). +-export([encode_handshake/2, + encode_hello_extensions/1, + encode_extensions/1, + encode_extensions/2, + encode_client_protocol_negotiation/2, + encode_protocols_advertised_on_server/1]). %% Decode --export([decode_handshake/3, decode_vector/1, decode_hello_extensions/4, decode_extensions/3, - decode_server_key/3, decode_client_key/3, +-export([decode_handshake/3, + decode_vector/1, + decode_hello_extensions/4, + decode_extensions/3, + decode_server_key/3, + decode_client_key/3, decode_suites/2 ]). %% Cipher suites handling --export([available_suites/2, available_signature_algs/2, available_signature_algs/3, - cipher_suites/3, select_session/8, - premaster_secret/2, premaster_secret/3, premaster_secret/4]). +-export([available_suites/2, + available_signature_algs/2, + available_signature_algs/3, + cipher_suites/3, + select_session/8, + premaster_secret/2, + premaster_secret/3, + premaster_secret/4]). %% Extensions handling -export([client_hello_extensions/10, -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor