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



On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson <mikma...@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
>
>

Attachment: yxa_changes.tgz
Description: GNU Zip compressed data

_______________________________________________
Yxa-devel mailing list
Yxa-devel@lists.su.se
https://lists.su.se/mailman/listinfo/yxa-devel

Reply via email to