RE: Need Help for Code Changes to Upgrade from OpenSSL 1.0.2 to 3.0

2021-10-21 Thread Floodeenjr, Thomas
Here are my notes from when we did this project a couple of years ago. It does not match your code exactly, but maybe it helps. -Tom ### ALL ### Follow the porting instructions here: https://wiki.tizen.org/Security/Tizen_5.X_Migration_from_OpenSSL_1.0.2_to_OpenSSL_1.1.1_guide Especially the

RE: installing OpenSSL 1.1.1 on RedHat 6.x

2021-07-08 Thread Floodeenjr, Thomas
Tim, 6.6 - 6.5 may likely work. 7.x - 6.x will probably not work. -Tom -Original Message- From: Tim Culhane Sent: Thursday, July 8, 2021 2:56 PM To: Floodeenjr, Thomas ; openssl-users@openssl.org Subject: RE: installing OpenSSL 1.1.1 on RedHat 6.x Hi Tom, So from what you say, you

RE: installing OpenSSL 1.1.1 on RedHat 6.x

2021-07-08 Thread Floodeenjr, Thomas
Is the OpenSSL version being used built on the platform that it is run on? You cannot use a version compiled on a newer platform in an older environment. -Tom -Original Message- From: openssl-users On Behalf Of Tim Culhane Sent: Thursday, July 8, 2021 10:56 AM To:

RE: How to switch between OpenSSL 1.0.2 and 1.1 in compilation loading and linking a C code.

2021-05-06 Thread Floodeenjr, Thomas
You may need to rename the libraries on your system or use LD_PRELOAD when launching your application. Another option is to specify the full path to the specific libraries you want when you link with, instead of the -l. For example: gcc -I

RE: Help with i2d_CMS_bio_stream from OpenSSL 1.0 to OpenSSL 1.1.1j

2021-04-13 Thread Floodeenjr, Thomas
Hello, Are there any clues for you here? https://wiki.tizen.org/Security/Tizen_5.X_Migration_from_OpenSSL_1.0.2_to_OpenSSL_1.1.1_guide -Tom From: openssl-users On Behalf Of Fabio Sent: Tuesday, April 13, 2021 12:59 AM To: openssl-users@openssl.org Subject: Re: Help with i2d_CMS_bio_stream

RE: openssl development work / paid

2021-03-25 Thread Floodeenjr, Thomas
If your problem is the migration from 1.0.2 to 1.1.1, I have attached my porting notes, if that helps. -Tom -Original Message- From: openssl-users On Behalf Of Embedded Devel Sent: Wednesday, March 24, 2021 8:02 PM To: openssl-users@openssl.org Subject: openssl development work /

RE: OpenSSL Config Error

2020-10-15 Thread Floodeenjr, Thomas
Sorry, I am nog familiar with Erlang. From: Aneeq Abid Sent: Thursday, October 15, 2020 1:09 PM To: Floodeenjr, Thomas Cc: openssl-users@openssl.org Subject: Re: OpenSSL Config Error Thanks for your reply. I have already installed OpenSSL but when I install Erlang, I find that crypto

RE: OpenSSL Config Error

2020-10-15 Thread Floodeenjr, Thomas
Shared means to configure as shared libraries. From: Aneeq Abid Sent: Thursday, October 15, 2020 12:36 PM To: Floodeenjr, Thomas Cc: openssl-users@openssl.org Subject: Re: OpenSSL Config Error Dear Thomas, I tried different parameters and have found out that the error occurs only when

RE: OpenSSL Config Error

2020-10-05 Thread Floodeenjr, Thomas
Try removing the --openssldir=/usr/local/ssl flag. I think it is not needed. sudo ./config --prefix=/usr/local/ssl shared zlib -Tom From: openssl-users On Behalf Of Aneeq Abid Sent: Monday, October 5, 2020 4:07 AM To: openssl-users@openssl.org Subject: OpenSSL Config Error Hi, I have no

RE: Migrating from 1.0.2 g to 1.1.1d

2020-02-06 Thread Floodeenjr, Thomas
It looks like I need to call init() after new() m_evpCtx = EVP_ENCODE_CTX_new(); EVP_EncodeInit(m_evpCtx); From: openssl-users On Behalf Of Floodeenjr, Thomas Sent: Thursday, February 6, 2020 2:22 PM To: openssl-users@openssl.org Subject: RE: Migrating from 1.0.2 g to 1.1.1d

RE: Migrating from 1.0.2 g to 1.1.1d

2020-02-06 Thread Floodeenjr, Thomas
unning my buffer. Why does EVP_ENCODE_CTX_new() initialize to '0'? How do I fix this problem? Thanks, -Tom From: openssl-users On Behalf Of Floodeenjr, Thomas Sent: Thursday, February 6, 2020 11:25 AM To: openssl-users@openssl.org Subject: Migrating from 1.0.2 g to 1.1.1d Hell

Migrating from 1.0.2 g to 1.1.1d

2020-02-06 Thread Floodeenjr, Thomas
Hello, We are in the process of migrating from 1.0.2g to 1.1.1d. We adjusted to the changes, we think, and everything compiles. Many things also execute correctly. We are currently seeing a crash in EVP_EncodeUpdate() after we process most of our data. (last line of the while loop, line 202,

RE: Static linking libssl.a and libcrypto.a on Linux x64 fails

2019-11-18 Thread Floodeenjr, Thomas
If you want to link statically, when dynamic libraries are also available, you need to tell the linker that you want to use static libraries, otherwise it will always assume dynamic LINK_LIBS = -Wl,-Bstatic -lstaticlibs -lcrypto -lssl -lz -Wl,-Bdynamic -ldynamiclibs -Original Message-

RE: static linking libssl and libcrypto

2019-11-04 Thread Floodeenjr, Thomas
To check if you are linked statically or dynamically, what does ldd tell you? (ldd libAPP.so) Your library should not have a dependency on libssl.so or libcrypto.so if you are linked statically. -Tom From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Aijaz Baig Sent:

Re: [openssl-users] Session Ticket Support in Openssl TLS 1.2

2017-06-14 Thread Floodeenjr, Thomas
Is there a recommendation for a newer book? -Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Salz, Rich via openssl-users Sent: Wednesday, June 14, 2017 11:43 AM To: openssl-users@openssl.org Subject: Re: [openssl-users] Session Ticket

Re: [openssl-users] Building 1.0.2g with "no-idea"

2016-03-23 Thread Floodeenjr, Thomas
I have this problem too, and tried the "make depend" step. It still fails to build. make[2]: *** No rule to make target `../../include/openssl/rc4.h', needed by `eng_openssl.o'. Stop. I worked around it by stubbing in all of the missing headers I did not need: # Stub in some missing header

RE: Coverity Scan: Would/DId It Catch the Heartbleed Defect?

2014-04-18 Thread Floodeenjr, Thomas
Klocwork seems to have caught it: http://www.klocwork.com/blog/software-security/saving-you-from-heartbleed/?mkt_tok=3RkMMJWWfF9wsRolva7JZKXonjHpfsX56%2B4tX6CwlMI%2F0ER3fOvrPUfGjI4FTsZrI%2BSLDwEYGJlv6SgFSrbAMah1ybgNUxE%3D -Original Message- From: owner-openssl-us...@openssl.org

RE: Coverity Scan: Would/DId It Catch the Heartbleed Defect?

2014-04-18 Thread Floodeenjr, Thomas
Subject: Re: Coverity Scan: Would/DId It Catch the Heartbleed Defect? On Fri, Apr 18, 2014 at 12:24 PM, Floodeenjr, Thomas thomas_floodee...@mentor.com wrote: Klocwork seems to have caught it: http://www.klocwork.com/blog/software-security/saving-you-from-heartbl eed/?mkt_tok

RE: Linking error

2013-03-22 Thread Floodeenjr, Thomas
Hello, It looks to me like you need to link with one or more Windows libraries. QMAKE_LIBS_CORE = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib -Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 -Original Message- From:

RE: libcrypto.a linking problem?

2013-03-18 Thread Floodeenjr, Thomas
Hello, Are you linking with libdl.so? (-ldl) -Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of zero modulo Sent: Sunday, March 17, 2013 10:33 PM To:

RE: Compiling open ssl source code in Visual studio 2008

2012-10-22 Thread Floodeenjr, Thomas
Priyaranjan, Did you run ms\do_ms.bat in between the configure and the nmake command? -Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of PRIYARANJAN NAYAK Sent: Monday, October 22, 2012 3:33

RE: openssl compile time error

2012-03-05 Thread Floodeenjr, Thomas
What does your configure command line look like? Did you disable AES or DES perhaps? -Tom From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of aram_baghom...@hushmail.com Sent: Sunday, March 04, 2012 8:39 AM To: openssl-users@openssl.org Subject: openssl

RE: Friendly name

2011-12-01 Thread Floodeenjr, Thomas
Wouldn't that be in your openssl.cnf file? Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Hopkins, Nathan Sent: Thursday, December 01, 2011 1:25 PM To: openssl-users@openssl.org Subject: RE:

RE: Error when compiling static openSSL (libcrypto.a) into shared library

2011-11-10 Thread Floodeenjr, Thomas
Are you sure that all of your stuff is building with -fPIC? I was having a similar problem, but once I made sure everything compiled with -fPIC, my errors went away. -Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 From: owner-openssl-us...@openssl.org

RE: Link error

2011-10-11 Thread Floodeenjr, Thomas
You probably need to link with libdl -ldl -Tom Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Gyanendra Kumar Sent: Sunday, October 09, 2011 8:05 PM To: