BINGO! :D<div><br></div><div>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.</div>
<div><br></div><div>CGS</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/31/2012 04:10 PM, CGS wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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:<br>
<br>
ssl_util: failed (test "SSL certificates - 0", line 419) - Error:<br>
{'EXIT',<br>
{{badmatch,<br>
{'Certificate',<br>
</blockquote></div>
...<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[{ssl_util,test,0,[{file,"ssl_<u></u>util.erl"},{line,519}]},<br>
{autotest,test_module2,2,[{<u></u>file,"autotest.erl"},{line,<u></u>300}]}]}}<br>
<br>
Any idea? Do I need to set a certificate manually?<br>
<br>
CGS<br>
<br>
</blockquote></div>
Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function.<span class="HOEnZb"><font color="#888888"><br>
<br>
/Mikael<br>
<br>
</font></span></blockquote></div><br></div>