Page 1 of 1

Compiling with OpenSSL

Posted: Mon Jul 04, 2022 8:43 pm
by lgk321q
Hello,

I'm trying to cross compile an application that uses openssl for the Vocore2 Ultimate, 20191127.bin firmware. I've built the openwrt toolchain (18.06) with the openssl config option
using a VM with Ubuntu 14.04 and I'm currently using openssl libraries found in the target folder under staging_dir.

It appears I'm able to link to the libraries but I'm getting runtime errors when initializing the openssl library.

Specifically: ssl_ciph.c(437): OpenSSL internal error, assertion failed: ssl_mac_secret_size[SSL_MD_MD5_IDX] >= 0

Is there a specific way to use or cross compile with openssl?

Re: Compiling with OpenSSL

Posted: Thu Jul 07, 2022 1:56 am
by Vonger
I find this 9 years ago thread: https://openssl-users.openssl.narkive.c ... nal-error#
Maybe a reference about memory.