Topic: wolfssl lirary - VS code

Hi Team,

I already have a  client CPP program in my vs code , I want to add wolfssl library to this existing project , is there any document that i can follow for my dev.

Thanks in advance,
RJ

Share

Re: wolfssl lirary - VS code

Hi,

As we say in https://github.com/wolfSSL/wolfssl/blob/master/INSTALL:

Use the Visual Studio Solution wolfssl64.sln

Can you tell us a bit about your project?  What are you trying to achieve?

Warm regards, Anthony

Share

Re: wolfssl lirary - VS code

Hi Anthony,

I want to add tls1.3 to my existing   windows console application project which runs in visual studio . I want to include WOLFSSL library to this CPP project , how could I achieve this ?

thanks and regards,
RJ

Share

Re: wolfssl lirary - VS code

Hi RJ,

You can use VSCode to build the wolfSSL library by simply opening the folder where you cloned or downloaded wolfSSL.

Or you can use the GitHub extension to "Clone GitHub Repository..."
Enter "https://github.com/wolfSSL/wolfssl.git"
Then "Clone from URL https://github.com/wolfSSL/wolfssl.git" and select a folder in which to store the code.

Next you can build using Cmake, or using the command line using these instructions:
https://github.com/wolfSSL/wolfssl/blob/master/INSTALL

After installing wolfSSL, you can link the library to your application by adding "-lwolfssl" to your compiler flags. Be sure to add the wolfSSL include files that were installed to the application.

#include <wolfssl/options.h>
#include <wolfssl/wolfcrypt/settings.h>

Re: wolfssl lirary - VS code

Hi,

After reference i was able to add WOLFSSL library to my vscode, now my issue is to enable WOLFSSL_TLS13 , when i use wolfSSL_CTX_new() its input should be wolfTLSv1_3_client_method but its not enable , how can i enable it in code ?.

Thanks and regards,
RJ

Share