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 Add APIs for custom X509_LOOKUP_METHOD creation 2018-05-30 15:45:48 +02:00
by_dir.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
by_file.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
t_crl.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
t_req.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
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 Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_cmp.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_d2.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_def.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_err.c Support SM2 certificate verification 2019-03-13 15:29:39 +08:00
x509_ext.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_lcl.h Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_lu.c Fix crash in X509_STORE_CTX_get_by_subject 2019-04-09 10:26:44 +01:00
x509_meth.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_obj.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_r2x.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_req.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_set.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_trs.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_txt.c X509_check_issued: check that signature algo matches signing key algo 2018-12-19 13:33:54 +01:00
x509_v3.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509_vfy.c Admit unknown pkey types at security level 0 2018-12-20 02:55:12 -05:00
x509_vpm.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509cset.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509name.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509rset.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509spki.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509type.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x_all.c Make X509_set_sm2_id consistent with other setters 2019-04-09 20:44:42 +08:00
x_attrib.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x_crl.c Fix a memory leak with di2_X509_CRL reuse 2019-01-31 19:10:57 +01:00
x_exten.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
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 Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x_x509.c Make X509_set_sm2_id consistent with other setters 2019-04-09 20:44:42 +08:00
x_x509a.c Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00