constify *_dup() and *i2d_*() and related functions as far as possible, introducing...
authorDavid von Oheimb <David.von.Oheimb@siemens.com>
Tue, 15 Jan 2019 20:51:25 +0000 (21:51 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Mar 2019 16:10:09 +0000 (16:10 +0000)
commit9fdcc21fdc9d148f78d9cd5be34030f38cc45812
tree20cba464edf2befc97c1888631dd782cba830c89
parent27d5631236325c3fd8a3bd06af282ac496aac64b
constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8029)
88 files changed:
crypto/asn1/a_dup.c
crypto/asn1/a_i2d_fp.c
crypto/asn1/asn1_locl.h
crypto/asn1/asn_mime.c
crypto/asn1/bio_ndef.c
crypto/asn1/i2d_pr.c
crypto/asn1/i2d_pu.c
crypto/asn1/n_pkey.c
crypto/asn1/tasn_dec.c
crypto/asn1/tasn_enc.c
crypto/asn1/tasn_fre.c
crypto/asn1/tasn_prn.c
crypto/asn1/tasn_typ.c
crypto/asn1/tasn_utl.c
crypto/asn1/x_bignum.c
crypto/asn1/x_int64.c
crypto/asn1/x_long.c
crypto/cms/cms_dd.c
crypto/cms/cms_enc.c
crypto/cms/cms_env.c
crypto/cms/cms_io.c
crypto/cms/cms_kari.c
crypto/cms/cms_lcl.h
crypto/cms/cms_lib.c
crypto/cms/cms_pwri.c
crypto/dh/dh_ameth.c
crypto/dh/dh_asn1.c
crypto/dh/dh_pmeth.c
crypto/dsa/dsa_asn1.c
crypto/dsa/dsa_pmeth.c
crypto/ec/ec_asn1.c
crypto/ec/ec_pmeth.c
crypto/ess/ess_asn1.c
crypto/evp/encode.c
crypto/evp/evp_pkey.c
crypto/evp/mac_lib.c
crypto/evp/p_lib.c
crypto/evp/pkey_mac.c
crypto/evp/pmeth_lib.c
crypto/include/internal/evp_int.h
crypto/ocsp/v3_ocsp.c
crypto/pem/pem_pk8.c
crypto/pkcs12/p12_utl.c
crypto/pkcs7/pk7_lib.c
crypto/rsa/rsa_asn1.c
crypto/rsa/rsa_pmeth.c
crypto/sm2/sm2_pmeth.c
crypto/ts/ts_asn1.c
crypto/x509/x_all.c
crypto/x509/x_name.c
crypto/x509/x_pubkey.c
crypto/x509/x_x509.c
crypto/x509v3/v3_genn.c
doc/man3/ASN1_STRING_length.pod
doc/man3/EVP_PKEY_CTX_ctrl.pod
doc/man3/EVP_PKEY_CTX_new.pod
doc/man3/EVP_PKEY_set1_RSA.pod
doc/man3/PEM_read_bio_PrivateKey.pod
doc/man3/SSL_SESSION_free.pod
doc/man3/SSL_new.pod
doc/man3/X509_PUBKEY_new.pod
doc/man3/X509_dup.pod
doc/man3/d2i_PKCS8PrivateKey_bio.pod
doc/man3/d2i_PrivateKey.pod
doc/man3/d2i_X509.pod
include/openssl/asn1.h
include/openssl/asn1t.h
include/openssl/cms.h
include/openssl/dh.h
include/openssl/dsa.h
include/openssl/ec.h
include/openssl/ess.h
include/openssl/evp.h
include/openssl/objects.h
include/openssl/ocsp.h
include/openssl/pem.h
include/openssl/pkcs12.h
include/openssl/pkcs7.h
include/openssl/rsa.h
include/openssl/ssl.h
include/openssl/ts.h
include/openssl/x509.h
include/openssl/x509v3.h
ssl/ssl_asn1.c
ssl/ssl_locl.h
ssl/ssl_sess.c
test/x509aux.c
util/perl/OpenSSL/ParseC.pm