[erlang-patches] new veriosn elliptic curve support

Andreas Schultz <>
Fri Feb 22 15:01:57 CET 2013


Hi,

Updated version pushed, I don't have windows around, so I couldn't test the change.
Static initialization in crypto.c and unused symbols are changed as well.

git fetch git://github.com/RoadRunnr/otp.git tls-psk-srp-suites-ECC

https://github.com/RoadRunnr/otp/compare/master...tls-psk-srp-suites-ECC
https://github.com/RoadRunnr/otp/compare/master...tls-psk-srp-suites-ECC.patch

Andreas

----- Original Message -----
> On 02/22/2013 11:45 AM, Fredrik wrote:
> > On 02/22/2013 10:46 AM, Fredrik wrote:
> >> On 02/21/2013 04:13 PM, Andreas Schultz wrote:
> >>> Hi,
> >>>
> >>> Sorry, messed up a merge, new version compiled, passed the SSL test
> >>> suite and pushed... even with a fetch line: ;-)
> >>>
> >>> git fetch git://github.com/RoadRunnr/otp.git tls-psk-srp-suites-ECC
> >>>
> >>> BTW: @Ingela: I noticec that the ssl_packet_SUITE is not executed
> >>> during
> >>> tests. This looks like a mistake in the common_test conversion.
> >>>
> >>> Andreas
> >>>
> >>> ----- Original Message -----
> >>>> On 02/21/2013 02:05 PM, Andreas Schultz wrote:
> >>>>> ----- Original Message -----
> >>>>>> On 02/21/2013 01:48 PM, Andreas Schultz wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> I have a new version of the elliptic curve TLS support.
> >>>>>>>
> >>>>>>> https://github.com/RoadRunnr/otp/compare/master...tls-psk-srp-suites-ECC
> >>>>>>>
> >>>>>>> https://github.com/RoadRunnr/otp/compare/master...tls-psk-srp-suites-ECC.patch
> >>>>>>>
> >>>>>>>
> >>>>>>> This branch includes the PSK and SRP cipher changes that are
> >>>>>>> already in
> >>>>>>> master-pu
> >>>>>>> as it would otherwise conflict with them.
> >>>>>>>
> >>>>>>> EC ciphers are now optional and depend on wether EC support is
> >>>>>>> compiled
> >>>>>>> into
> >>>>>>> OpenSSL or not. I have tested it with on Fedora (without EC
> >>>>>>> support) and
> >>>>>>> Ubuntu
> >>>>>>> (with EC support).
> >>>>>>>
> >>>>>>> Andreas
> >>>>>>> _______________________________________________
> >>>>>>> erlang-patches mailing list
> >>>>>>> 
> >>>>>>> http://erlang.org/mailman/listinfo/erlang-patches
> >>>>>> Fetched,
> >>>>>> Dropping tls-psk-srp-suites
> >>>>>>
> >>>>>> and replacing it with this patch now, correct?
> >>>>> yes, thanks
> >>>>>
> >>>>> Andreas
> >>>>>
> >>>>>> --
> >>>>>>
> >>>>>> BR Fredrik Gustafsson
> >>>>>> Erlang OTP Team
> >>>>>>
> >>>>>>
> >>>> Fails to build:
> >>>>
> >>>> ssl_connection.erl:1362: syntax error before: '>>'
> >>>> ssl_connection.erl:1230: function init_diffie_hellman/4 undefined
> >>>> ssl_connection.erl:1351: Warning: function handle_file_error/6 is
> >>>> unused
> >>>> ssl_connection.erl:1357: Warning: function file_error/6 is unused
> >>>> ssl_connection.erl:2141: Warning: variable 'Session' is unused
> >>>> ssl_connection.erl:2142: Warning: variable 'Role' is unused
> >>>> ssl_connection.erl:2142: Warning: variable 'Version' is unused
> >>>> ssl_connection.erl:2143: Warning: variable 'ConnectionStates0' is
> >>>> unused
> >>>> ssl_connection.erl:2148: Warning: variable 'PSKIdentity' is unused
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> BR Fredrik Gustafsson
> >>>> Erlang OTP Team
> >>>>
> >>>>
> >> Re-fetched. Thanks,
> >> Fetch link is always appreciated. ;)
> >>
> > Still fails to build:
> >
> > crypto.c(369) : error C2059: syntax error : '.'
> > crypto.c(370) : error C2059: syntax error : ','
> > crypto.c(371) : error C2059: syntax error : ','
> > crypto.c(372) : error C2059: syntax error : ','
> > crypto.c(373) : error C2059: syntax error : ','
> > crypto.c(374) : error C2059: syntax error : ','
> > crypto.c(375) : error C2059: syntax error : ','
> > crypto.c(377) : error C2059: syntax error : ','
> > crypto.c(378) : error C2059: syntax error : ','
> > crypto.c(379) : error C2059: syntax error : ','
> > crypto.c(380) : error C2059: syntax error : ','
> > crypto.c(381) : error C2059: syntax error : ','
> > crypto.c(383) : error C2059: syntax error : ','
> > crypto.c(384) : error C2059: syntax error : ','
> > crypto.c(385) : error C2059: syntax error : ','
> > crypto.c(387) : error C2059: syntax error : ','
> > crypto.c(388) : error C2059: syntax error : ','
> > crypto.c(389) : error C2059: syntax error : ','
> > crypto.c(390) : error C2059: syntax error : ','
> > crypto.c(391) : error C2059: syntax error : ','
> > crypto.c(392) : error C2059: syntax error : ','
> > crypto.c(393) : error C2059: syntax error : ','
> > crypto.c(396) : error C2059: syntax error : ','
> > crypto.c(397) : error C2059: syntax error : ','
> > crypto.c(398) : error C2059: syntax error : ','
> > crypto.c(399) : error C2059: syntax error : ','
> > crypto.c(400) : error C2059: syntax error : ','
> > crypto.c(401) : error C2059: syntax error : ','
> > crypto.c(402) : error C2059: syntax error : ','
> > crypto.c(403) : error C2059: syntax error : ','
> > crypto.c(404) : error C2059: syntax error : ','
> > crypto.c(405) : error C2059: syntax error : ','
> > crypto.c(406) : error C2059: syntax error : ','
> > crypto.c(407) : error C2059: syntax error : ','
> > crypto.c(408) : error C2059: syntax error : ','
> > crypto.c(409) : error C2059: syntax error : ','
> > crypto.c(410) : error C2059: syntax error : ','
> > crypto.c(411) : error C2059: syntax error : ','
> > crypto.c(412) : error C2059: syntax error : ','
> > crypto.c(413) : error C2059: syntax error : ','
> > crypto.c(415) : error C2059: syntax error : ','
> > crypto.c(416) : error C2059: syntax error : ','
> > crypto.c(417) : error C2059: syntax error : ','
> > crypto.c(418) : error C2059: syntax error : ','
> > crypto.c(419) : error C2059: syntax error : ','
> > crypto.c(420) : error C2059: syntax error : ','
> > crypto.c(421) : error C2059: syntax error : ','
> > crypto.c(422) : error C2059: syntax error : ','
> > crypto.c(423) : error C2059: syntax error : ','
> > crypto.c(424) : error C2059: syntax error : ','
> > crypto.c(425) : error C2059: syntax error : ','
> > crypto.c(426) : error C2059: syntax error : ','
> > crypto.c(427) : error C2059: syntax error : ','
> > crypto.c(428) : error C2059: syntax error : ','
> > crypto.c(429) : error C2059: syntax error : ','
> > crypto.c(430) : error C2059: syntax error : ','
> > crypto.c(433) : error C2059: syntax error : ','
> > crypto.c(434) : error C2059: syntax error : ','
> > crypto.c(435) : error C2059: syntax error : ','
> > crypto.c(436) : error C2059: syntax error : ','
> > crypto.c(437) : error C2059: syntax error : ','
> > crypto.c(438) : error C2059: syntax error : ','
> > crypto.c(439) : error C2059: syntax error : ','
> > crypto.c(440) : error C2059: syntax error : ','
> > crypto.c(441) : error C2059: syntax error : ','
> > crypto.c(442) : error C2059: syntax error : ','
> > crypto.c(443) : error C2059: syntax error : ','
> > crypto.c(445) : error C2059: syntax error : ','
> > crypto.c(447) : error C2059: syntax error : '}'
> > crypto.c(611) : warning C4034: sizeof returns 0
> > crypto.c(2832) : warning C4034: sizeof returns 0
> > crypto.c(2843) : warning C4034: sizeof returns 0
> >
> >
> >
> This is only on windows I should add also!
> 
> --
> 
> BR Fredrik Gustafsson
> Erlang OTP Team
> 
> 

-- 
-- 
Dipl. Inform.
Andreas Schultz

email: 
phone: +49-391-819099-224
mobil: +49-170-2226073

------------------ managed broadband access ------------------

Travelping GmbH               phone:           +49-391-8190990
Roentgenstr. 13               fax:           +49-391-819099299
D-39108 Magdeburg             email:       
GERMANY                       web:   http://www.travelping.com

Company Registration: HRB21276 Handelsregistergericht Chemnitz
Geschaeftsfuehrer: Holger Winkelmann | VAT ID No.: DE236673780
--------------------------------------------------------------


More information about the erlang-patches mailing list