From 05d80e2ca5b5703b3928af8ef8ca1160c7a2062f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Dimitrov?= Date: Wed, 23 Jan 2019 11:08:06 +0100 Subject: ssl: Update function build_content Change-Id: I91c5866f1400c3ad9c7eab1292c3ceb32a482c70 --- lib/ssl/src/tls_handshake_1_3.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/ssl/src/tls_handshake_1_3.erl b/lib/ssl/src/tls_handshake_1_3.erl index 8dc5e86971..44fa7303f1 100644 --- a/lib/ssl/src/tls_handshake_1_3.erl +++ b/lib/ssl/src/tls_handshake_1_3.erl @@ -320,9 +320,8 @@ digitally_sign(THash, Context, HashAlgo, PrivateKey = #'RSAPrivateKey'{}) -> build_content(Context, THash) -> - <<" ", - " ", - Context/binary,?BYTE(0),THash/binary>>. + Prefix = binary:copy(<<32>>, 64), + <>. %%==================================================================== %% Handle handshake messages -- cgit v1.2.3