crypto

4 views
Skip to first unread message

Tristan Sloughter

unread,
Apr 9, 2011, 1:20:53 PM4/9/11
to erlware-...@googlegroups.com
I wonder if this problem I'm having with crypto is related to how its installed through faxien so I'm asking here first.

I get this undef for rand_bytes when I use ibrowse withs ssl:

{error,{conn_failed,{error,{undef,[{crypto,rand_bytes,[28]}, {ssl_record,random,0}, 
                 {ssl_record,empty_security_params,1}, {ssl_record,init_connection_states,1}, 
                 {ssl_connection,initial_state,7}, {ssl_connection,init,1}, {gen_fsm,init_it,6}, 
                 {proc_lib,init_p_do_apply,3}]}}}}

in /crypto-2.0.2.1/src/crypto.erl I find:

rand_bytes(_Bytes) -> ?nif_stub.

I'm not familiar with how that works... But could their be a problem with the native code thats installed or not installed?

Tristan

Jordan Wilberding

unread,
Apr 9, 2011, 6:14:44 PM4/9/11
to erlware-...@googlegroups.com, Tristan Sloughter
I think so. Didn't we run into this issue before? I could have sworn it was something with the way a driver was symlinked or something.

--
You received this message because you are subscribed to the Google Groups "erlware-questions" group.
To post to this group, send email to erlware-...@googlegroups.com.
To unsubscribe from this group, send email to erlware-questi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erlware-questions?hl=en.

Reply all
Reply to author
Forward
0 new messages