openssl/crypto/ec
Matt Caswell 40a8643a37 Avoid a NULL ptr deref if group is not set
We should only copy parameters and keys if the group is set. Otherwise
they don't really make any sense. Previously we copied the private key
regardless of whether the group was set...but if it wasn't a NULL ptr
deref could occur. It's unclear whether we could ever get into that
situation, but since we were already checking it for the public key we
should be consistent.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-29 16:47:41 +01:00
..
asm Fix the spelling of "implement". 2016-04-14 08:15:27 -04:00
build.info Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
curve25519.c
ec2_mult.c
ec2_oct.c
ec2_smpl.c
ec_25519.c
ec_ameth.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ec_asn1.c constify ECDSA_SIG_get0() 2016-03-19 22:04:38 +00:00
ec_check.c
ec_curve.c
ec_cvt.c
ec_err.c RT3676: Expose ECgroup i2d functions 2016-03-09 12:25:21 -05:00
ec_key.c Avoid a NULL ptr deref if group is not set 2016-04-29 16:47:41 +01:00
ec_kmeth.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ec_lcl.h
ec_lib.c
ec_mult.c
ec_oct.c
ec_pmeth.c
ec_print.c
ecdh_kdf.c
ecdh_ossl.c
ecdsa_ossl.c
ecdsa_sign.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ecdsa_vrf.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
eck_prn.c
ecp_mont.c
ecp_nist.c
ecp_nistp224.c
ecp_nistp256.c
ecp_nistp521.c
ecp_nistputil.c
ecp_nistz256_table.c
ecp_nistz256.c
ecp_oct.c
ecp_smpl.c