You need to put the static library at the END of your link command. A static
library is searched when it is encountered in the link stream, and only the
items needed will be used from it.
Because you have it first, there are no undefined symbols, and no items will be
used from it.
From: opens
You might try changing this:
8. gcc -shared -o librsa_engine.so libdune/libdune.a -lcrypto rsa-engine.o
rsa/rsa.o rsa/bignum.o rsa/aes.o rsa/x509parse.o rsa/pem.o
to this:
gcc –shared –o librsa_engine.so –L./libdune rsa_engine.o
rsa/rsa.o rsa/bignum.o rsa/aes.o rsa/x509parse.
Hello,
I have a custom rsa engine. It builds and works fine. Later, I have added a
static library with my custom engine code. My code compiles. However, when
I try to load the custom engine it shows *invalid engine "rsa-engine-new".
*The full error is given below,
x@x:~/Downloads/x/x/x/rsa_engine$
On 17/11/2020 13:56, Michael Wojcik wrote:
>> From: Kyle Hamilton
>> Sent: Tuesday, 17 November, 2020 02:37
>> On Fri, Nov 13, 2020 at 11:51 AM Michael Wojcik
>> wrote:
>>>
From: Brice André
Sent: Friday, 13 November, 2020 09:13
>>>
"Does the server parent process close its cop
> From: Kyle Hamilton
> Sent: Tuesday, 17 November, 2020 02:37
> On Fri, Nov 13, 2020 at 11:51 AM Michael Wojcik
> wrote:
> >
> > > From: Brice André
> > > Sent: Friday, 13 November, 2020 09:13
> >
> > > "Does the server parent process close its copy of the conversation
> > > socket?"
> > > I c
There's another reason why you'll want to close your socket with
SSL_close(): SSL (and TLS) view a prematurely-closed stream as an
exceptional condition to be reported to the application. This is to
prevent truncation attacks against the data communication layer.
While your application may not need