DSAPublicKey lost the dsa_cb in https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=ea6b07b54c1f8fc2275a121cdda071e2df7bd6c1
This results in d2i_DSAPublicKey using crypto/asn1's default allocation logic rather than calling into DSA_new. I believe it should use ASN1_SEQUENCE_cb. I've attached a tiny sample program. On my machine, when building against master, the second reference count is 0 and then the second DSA_free crashes. Also, the comment in dsa_asn1.c and d2i_DSAPublicKey.pod both still refer to write_params which no longer exists. David
dsa_public_key.c
Description: Binary data
_______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
