openssl/crypto/x509
Paul Yang ccf453610f Make X509_set_sm2_id consistent with other setters
This commit makes the X509_set_sm2_id to 'set0' behaviour, which means
the memory management is passed to X509 and user doesn't need to free
the sm2_id parameter later. API name also changes to X509_set0_sm2_id.

Document and test case are also updated.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8626)
2019-04-09 20:44:42 +08:00
..
build.info
by_dir.c
by_file.c
t_crl.c
t_req.c
t_x509.c add 'Signature Value:' line and correct indentation when printing X.509 signature value 2019-03-18 17:20:23 +00:00
x509_att.c
x509_cmp.c
x509_d2.c
x509_def.c
x509_err.c Support SM2 certificate verification 2019-03-13 15:29:39 +08:00
x509_ext.c
x509_lcl.h
x509_lu.c Fix crash in X509_STORE_CTX_get_by_subject 2019-04-09 10:26:44 +01:00
x509_meth.c
x509_obj.c
x509_r2x.c
x509_req.c
x509_set.c
x509_trs.c
x509_txt.c
x509_v3.c
x509_vfy.c
x509_vpm.c
x509cset.c
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c Make X509_set_sm2_id consistent with other setters 2019-04-09 20:44:42 +08:00
x_attrib.c
x_crl.c Fix a memory leak with di2_X509_CRL reuse 2019-01-31 19:10:57 +01:00
x_exten.c
x_name.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
x_pubkey.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
x_req.c
x_x509.c Make X509_set_sm2_id consistent with other setters 2019-04-09 20:44:42 +08:00
x_x509a.c