[Yxa-devel] Status

CGS cgsmcmlxxv at gmail.com
Fri Aug 31 21:00:05 CEST 2012


Here it is:

Repo: https://github.com/cgsmcmlxxv/yxa.git
Branch: otp-r15a

(git fetch https://github.com/cgsmcmlxxv/yxa.git otp-r15a)

CGS




On Fri, Aug 31, 2012 at 6:21 PM, CGS <cgsmcmlxxv at gmail.com> wrote:

> As far as I could discover, ssl:peercert/1 is supported since 2009, so,
> definitely, it should work with R14B04 or even with R14B03. See the old
> documentation at
>
>
> http://demo.erlang.org/documentation/doc-5.7.4/lib/ssl-3.10.7/doc/html/new_ssl.html#peercert-1
>
> which is from 2009. Presently, ssl:peercert/2 is no longer supported
> because they left only the [plain] option (during the transition there were
> two options [otp] and [plain], but only [plain] was supported):
>
> http://www.erlang.org/doc/man/ssl.html#peercert-1
>
> CGS
>
>
>
>
> On Fri, Aug 31, 2012 at 5:48 PM, CGS <cgsmcmlxxv at gmail.com> wrote:
>
>> I am not sure, but I suppose in R14B04 is already set as a warning (I
>> will check). Nevertheless, there is a repo for R15B01 already compiled:
>>
>> https://www.erlang-solutions.com/downloads/download-erlang-otp
>>
>> I make my installations by myself, but I heard that those packages are
>> fully compiled (with Java and wx required). I have Ubuntu 12.04 here.
>>
>> CGS
>>
>>
>>
>>
>> On Fri, Aug 31, 2012 at 5:35 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>>
>>>  On 08/31/2012 05:26 PM, CGS wrote:
>>>
>>> BINGO! :D
>>>
>>>  I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with
>>> TestCert1 and all the tests are passed now. I attached here the archive
>>> with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git
>>> repo for it.
>>>
>>>  CGS
>>>
>>>
>>> I prefer a git repo, refer to
>>> https://github.com/fredrikt/yxa/wiki/Submitting-patches.
>>>
>>> In which version was ssl:peercert/1 introduced in Erlang? I think many
>>> users prefer if Yxa can be built with the Erlang versions included in
>>> common Linux dists without requiring building Erlang from source. For
>>> example Ubuntu 12.04 has erlang r14b4.
>>>
>>> /Mikael
>>>
>>>
>>>
>>>
>>> On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>>>
>>>> On 08/31/2012 04:10 PM, CGS wrote:
>>>>
>>>>> OK! I managed to compile it with only one warning (error/2 is not
>>>>> used; I set eldap:parse_error/2 which does the same). I started the tests,
>>>>> but I got the following error:
>>>>>
>>>>>                  ssl_util: failed (test "SSL certificates - 0", line
>>>>> 419) - Error:
>>>>> {'EXIT',
>>>>>     {{badmatch,
>>>>>          {'Certificate',
>>>>>
>>>>  ...
>>>>
>>>>       [{ssl_util,test,0,[{file,"ssl_util.erl"},{line,519}]},
>>>>> {autotest,test_module2,2,[{file,"autotest.erl"},{line,300}]}]}}
>>>>>
>>>>> Any idea? Do I need to set a certificate manually?
>>>>>
>>>>> CGS
>>>>>
>>>>>  Looks like there is a problem with decoding certificates. I guess
>>>> they have changed the return value from some function.
>>>>
>>>> /Mikael
>>>>
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.su.se/pipermail/yxa-devel/attachments/20120831/81783dd9/attachment.html>


More information about the Yxa-devel mailing list