Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  ssl_cs example fails in P9C

mikael.karlsson at creado
Posted: Wed May 14, 2003 11:38 am Reply with quote
Guest
Hi,
I am playing around with your snapshot P9C release and the example
that reads the certificate data.
The example does not work and the problem seems to be that
PKIX1Explicit88:'dec_X520CommonName'/1 is called from the
SSL-PKIX module, but only 'dec_X520CommonName'/2 is exported
from that module.

I understand that P9C is preliminary and that one can not expect everything
to work Smile, but since the problem has been there for some time I just wanted
to make you aware of it.

/Mikael
-------------------------------------------------------------------------
mikael_at_aspen1:~/local/src/otp_src_P9C_2003-05-13/lib/ssl/examples/src> erl
Erlang (BEAM) emulator version 2003.05.13 [source] [hipe]

Eshell V2003.05.13 (abort with ^G)
1> c(ssl_cs).
{ok,ssl_cs}
2> ssl_cs:start().
Listen: port = 1299.
Accept: accepted.
Connect: connected.

=ERROR REPORT==== 14-May-2003::13:22:38 ===
Error in process <0.24.0> with exit value: {{badmatch,{error,{asn1,{'Type not
compatible with table
constraint',{undef,[{'PKIX1Explicit88',dec_X520CommonName,[{19,<<6
bytes>>}]},{'SSL-PKIX',dec_AttributeTypeAndValue,2},{'SSL-PKIX',decode,2},{ssl_pkix,transform,1},{lists,map,...
** exited: {{badmatch,{error,{asn1,{'Type not compatible with table
constraint',
{undef,
[{'PKIX1Explicit88',
dec_X520CommonName,
[{19,

<<99,108,105,101,110,116>>}]},
{'SSL-PKIX',
dec_AttributeTypeAndValue,
2},
{'SSL-PKIX',decode,2},
{ssl_pkix,transform,1},
{lists,map,2},
{ssl_pkix,transform,1},
{ssl_pkix,decode_cert,2},
{ssl_cs,start,1}|
more]}}}}},
[{ssl_pkix,transform,1},
{lists,map,2},
{ssl_pkix,transform,1},
{ssl_pkix,decode_cert,2},
{ssl_cs,start,1},
{erl_eval,do_apply,5},
{shell,eval_loop,2}]} **

=ERROR REPORT==== 14-May-2003::13:22:38 ===
Error in process <0.52.0> with exit value: {{badmatch,{error,{asn1,{'Type not
compatible with table
constraint',{undef,[{'PKIX1Explicit88',dec_X520CommonName,[{19,<<6
bytes>>}]},{'SSL-PKIX',dec_AttributeTypeAndValue,2},{'SSL-PKIX',decode,2},{ssl_pkix,transform,1},{lists,map,...



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum