Discussion:
[openssl-dev] [openssl.org #4587] openssl on arm linux run err!
(too old to reply)
123 via RT
2016-06-24 13:01:55 UTC
Permalink
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/listin
Rich Salz via RT
2016-06-24 13:23:33 UTC
Permalink
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.
--
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
123 via RT
2016-06-27 02:05:23 UTC
Permalink
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
Post by Rich Salz via RT
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.
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4587
Please log in as guest with password guest if prompted
--
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/l
Salz, Rich via RT
2016-06-27 13:49:17 UTC
Permalink
Is this using 1.0.1?
Please try to do it with 1.0.2 or master.
--
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
Salz, Rich via RT
2016-06-27 18:42:35 UTC
Permalink
Post by 123 via RT
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.
--
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
123 via RT
2016-06-28 01:49:21 UTC
Permalink
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?
Post by Salz, Rich via RT
Post by 123 via RT
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.
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4587
Please log in as guest with password guest if prompted
--
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
Salz, Rich
2016-06-28 16:33:33 UTC
Permalink
Post by 123 via RT
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?
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Salz, Rich via RT
2016-06-28 16:33:37 UTC
Permalink
Post by 123 via RT
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
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
t***@gmail.com
2018-11-23 03:55:45 UTC
Permalink
is this problem resolved?

在 2016年6月24日星期五 UTC+8下午9:02:25,123 via RT写道:
Post by 123 via RT
Dear:
./serv
Connection from 100007f, port f0ae
SSL connection using (NONE)
Client does not have certificate.
./cli
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
t***@gmail.com
2018-11-23 04:04:16 UTC
Permalink
在 2016年6月24日星期五 UTC+8下午9:02:25,123 via RT写道:
Post by 123 via RT
Dear:
./serv
Connection from 100007f, port f0ae
SSL connection using (NONE)
Client does not have certificate.
./cli
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
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?
j***@gmail.com
2019-05-01 12:34:05 UTC
Permalink
hi,I has the same problem as you,had you resolved it? thanks!

Loading...