Re: [openssl-users] OpenSSL Dragino Yun Issues

2016-09-02 Thread Nikola Milev
Matt, The suggested workaround seems to be working. I say "seems to be" because I have only tested it a little. it was tested using openssl s_client. Also, I suppose this doesn't present a security breach? Of course, if anyone manages to locate the origin of the issue, I would like to hear from

Re: [openssl-users] OpenSSL Dragino Yun Issues

2016-09-02 Thread Matt Caswell
On 02/09/16 09:15, Nikola Milev wrote: > Matt, > > I have not compiled it myself. Compiling simpler applications for my > Dragino Yun shield is complicated enough. > > One thing that did come to mind was: could the cross compilation for > Dragino be messing with the program in any way? Also

Re: [openssl-users] OpenSSL Dragino Yun Issues

2016-09-02 Thread Matt Caswell
On 01/09/16 12:36, Nikola Milev wrote: > listenfd = socket (AF_INET, SOCK_STREAM, PROTOCOL); > if(listenfd < 0) > { > exit_msg("socket() error"); > } The fact that this worked suggests that maybe we aren't sending what we think we are sending as the parameters to the

Re: [openssl-users] OpenSSL Dragino Yun Issues

2016-09-01 Thread Nikola Milev
Dear OpenSSL community, I have, because of Matt's suggestion of the origin of error, written a small C server that uses the same configuration and it works. Can someone tell me what's going on? The code is next (fully copied from my editor): "#include #include #include #include #include

Re: [openssl-users] OpenSSL Dragino Yun Issues

2016-08-31 Thread Matt Caswell
On 31/08/16 23:16, Nikola Milev wrote: > In other words the function that is failing is doing this: > > socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) It would be interesting to know whether a minimalist program that just does the above successfully creates a socket or not. If it does succeed then

[openssl-users] OpenSSL Dragino Yun Issues

2016-08-31 Thread Nikola Milev
To whom it may concern, I have been experiencing issues with OpenSSL and DraginoYun. If you are not the person I should have contacted, please redirect me. Thank you! Recently, I have tried using OpenSSL to establish a simple server application on Dragino Yun version 2.4. First, I tested the