Follow up: apparently the problem seems to go away if I add:
::EC_KEY_set_asn1_flag(private_key->pkey.ec, OPENSSL_EC_NAMED_CURVE);
Before the call.
Sadly, I'm facing a similar with the reverse operation (loading EC_KEY
from memory/file) using PEM_read_bio_EC_PUBKEY() when the generated key
I'm facing a crash (heap corruption) on Windows ever since I updated
OpenSSL to the version 1.0.2a. The same seems to happen in 1.0.1m.
I'm using Visual Studio 2013. I'm building the x64-static variant of
OpenSSL like so:
perl Configure VC-WIN64A no-asm
--prefix=F:\git\openssl_crash\third-part
Hi,
I just tried to compile OpenSSL 1.0.1k on Windows using the same
compilation steps I used for previous versions (1.0.1j.tar.gz built
fine) but encountered an error:
In crypto/cversion.c, line 79 are the following lines:
#ifdef CFLAGS
return(cflags);
#else
The error is on line 80,