OpenSSL server example: key loading?

kurtzweber
Posts: 64
Joined: Tue Jan 10, 2017 1:09 pm

OpenSSL server example: key loading?

Postby kurtzweber » Tue Jan 10, 2017 4:45 pm

Hi!

I'm working on the OpenSSL server example but I cannot understand how the keys are loaded from the external files... could you please explain me the meaning of:

Code: Select all

extern const unsigned char cacert_pem_start[] asm("_binary_cacert_pem_start");
extern const unsigned char cacert_pem_end[]   asm("_binary_cacert_pem_end");
const unsigned int cacert_pem_bytes = cacert_pem_end - cacert_pem_start;
Thanks!


kurtzweber
Posts: 64
Joined: Tue Jan 10, 2017 1:09 pm

Re: OpenSSL server example: key loading?

Postby kurtzweber » Mon Jan 16, 2017 9:11 am

thanks! I missed that readme :roll:

Who is online

Users browsing this forum: Bing [Bot] and 144 guests