Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[openssl-dev] [openssl.org #4587] openssl on arm linux run err!

175 views
Skip to first unread message

123 via RT

unread,
Jun 24, 2016, 9:02:25 AM6/24/16
to
Dear:
First of all thank you very much l to contribution.Allow us to use openssl so good tools.I am a beginner, so had a problem, to be consulted.Cross-compilation openssl1.0.1 g, on the arm Linux, running under the/demos/SSL/serv and cli application.The following error:

./serv
Connection from 100007f, port f0ae
SSL connection using (NONE)
Client does not have certificate.
3069232212:error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure:s3_pkt.c:989:

./cli
3069961300:error:0306E06C:bignum routines:BN_mod_inverse:no inverse:bn_gcd.c:492:
3069961300:error:14098077:SSL routines:SSL3_SEND_CLIENT_KEY_EXCHANGE:bad rsa encrypt:s3_clnt.c:2287:


But on x86 Linux, running without problems.I don't know what reason be?Hope to get your help


Sincerely yours
peter

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4587
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Rich Salz via RT

unread,
Jun 24, 2016, 9:23:55 AM6/24/16
to
The demo's don't all work, sadly.
OpenSSL 1.0.1 is very outdated and only gets security fixes; please try a
recent version.
closing ticket.

123 via RT

unread,
Jun 26, 2016, 10:05:53 PM6/26/16
to
Hi:
Thank you very much for your reply.According to your advice, I use a new openssl-1.0.2h tried.The result is the same as before.
Really don't understand.In addition, the demo will need a few small changes can be compiled through.
Guess problem is caused by the CPU architecture.The same example, arm and x86 result is different.hope to receive your reply very much!


thank you

Salz, Rich via RT

unread,
Jun 27, 2016, 9:49:49 AM6/27/16
to
Is this using 1.0.1?
Please try to do it with 1.0.2 or master.

Salz, Rich via RT

unread,
Jun 27, 2016, 2:43:10 PM6/27/16
to
> Guess problem is caused by the CPU architecture.The same example, arm
> and x86 result is different.hope to receive your reply very much!

Yes it probably is.

What did you change to make it compile?

The demo's are mostly old and broken, and in the next release most of them are gone. Looks in apps/s_client.c, for example. This is currently not likely to get fixed without a lot of detail.

123 via RT

unread,
Jun 27, 2016, 9:49:48 PM6/27/16
to
Hi:
Makefile part I have modified the compiler to remove "- m64" option.Compile completed smoothly.According to what you say,
I use the apps/in the program.Also appear a mistake, print is as follows:

/mnt/flash/nfs/apps # ./openssl s_server &
/mnt/flash/nfs/apps # Error setting EC curve
3069895744:error:0306E06C:bignum routines:BN_mod_inverse:no inverse:bn_gcd.c:525:
3069895744:error:0307706E:bignum routines:BN_mod_lshift_quick:input not reduced:bn_mod.c:289:
3069895744:error:1408502B:SSL routines:ssl3_ctx_ctrl:reason(43):s3_lib.c:3795:

[1]+ Done(1) ./openssl s_server

Also, under the x86 no problem.Now how to solve this problem?

Salz, Rich

unread,
Jun 28, 2016, 12:34:04 PM6/28/16
to

> Also, under the x86 no problem.Now how to solve this problem?

The same way you debug any C problem. Start by running it under the debugger?

Salz, Rich via RT

unread,
Jun 28, 2016, 12:34:34 PM6/28/16
to

> Also, under the x86 no problem.Now how to solve this problem?

The same way you debug any C problem. Start by running it under the debugger?



--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4587
Please log in as guest with password guest if prompted

txg...@gmail.com

unread,
Nov 22, 2018, 10:55:46 PM11/22/18
to
is this problem resolved?

在 2016年6月24日星期五 UTC+8下午9:02:25,123 via RT写道:

txg...@gmail.com

unread,
Nov 22, 2018, 11:04:17 PM11/22/18
to
在 2016年6月24日星期五 UTC+8下午9:02:25,123 via RT写道:
Hi,

I also need to run on arm device with openssl 1.0.2 version, has the same problem.

Has the problem been solved?

If so, how is it handled?

julian...@gmail.com

unread,
May 1, 2019, 8:34:06 AM5/1/19
to
hi,I has the same problem as you,had you resolved it? thanks!
0 new messages