[openssl-dev] Missing const EC_KEY *EC_KEY_dup(EC_KEY *src);

Salz, Rich rsalz at akamai.com
Sun Jul 24 17:19:05 UTC 2016


> Shouldn't this be  EC_KEY *EC_KEY_dup(const EC_KEY *src);

I think the reason it is not is because the EC_KEY has an ENGINE* and that can't be const.

Sigh, C needs 'mutable' :)


More information about the openssl-dev mailing list