Topic: how to run wolfssl-3.12.2/examples/client outside the wolf home dir?

hi. consult a question.
I want to run  wolfssl-3.12.2/examples/client/client outside the wolf home dir, like in the /home/xx/temp and use the absolute path  instead of inside the /home/xx/wolfssl-3.12.2.
What should i do?

Share

2 (edited by Kaleb J. Himes 2017-11-02 08:31:59)

Re: how to run wolfssl-3.12.2/examples/client outside the wolf home dir?

Hi Shuangc,

Could you explain the reasoning behind this?

Our default examples are not designed to be used in this way and would require several factorizations to get it working. We have examples that do NOT have a location dependency at https://github.com/wolfssl/wolfssl-examples.git if that would be better for you.

Another solution would be to

mv wolfssl/ /home/xx/temp
cd /home/xx/temp/wolfssl
./examples/client/client <args>

Warm Regards,

Kaleb

Re: how to run wolfssl-3.12.2/examples/client outside the wolf home dir?

Thank you for your reply!
I am doing a work about comparing the certificate validation results of different SSL/TLS implementations.while i am not familiar with wolfSSL, so, for brevity , i try to use the client example to get validation result and do it in my work directory instead of wolfdir home.

Share

Re: how to run wolfssl-3.12.2/examples/client outside the wolf home dir?

Hi Shuangc,

I see. I would recommend just placing wolfSSL in your working directory if that is the case. This will be the easiest solution. The other quick solution would be to download the examples from https://github.com/wolfssl/wolfssl-examples.git and build/run those instead.

See <wolfssl-examples>/tls/ directory for TLS client/server examples.


Warm Regards,

Kaleb