Page 1 of 1

OpenSSL server example: key loading?

Posted: Tue Jan 10, 2017 4:45 pm
by kurtzweber
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!

Re: OpenSSL server example: key loading?

Posted: Wed Jan 11, 2017 12:15 am
by WiFive

Re: OpenSSL server example: key loading?

Posted: Mon Jan 16, 2017 9:11 am
by kurtzweber
thanks! I missed that readme :roll: