Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add const to EVP_PKCS82PKEY(). | tb | 2018-08-24 | 1 | -2/+2 |
| | | | | | tested in a bulk by sthen ok jsing | ||||
* | After removing support for broken PKCS#8 formats (it was high time), | tb | 2018-08-24 | 1 | -8/+5 |
| | | | | | | | | we can add const to PKCS8_pkey_get0(). In order for this to work, we need to sprinkle a few consts here and there. tested in a bulk by sthen ok jsing | ||||
* | Remove EVP_PKEY2PKCS8_broken() and PKCS8_set_broken() | tb | 2018-08-24 | 1 | -13/+8 |
| | | | | | | | | | | | Provide PKCS8_pkey_add1_attr_by_NID() and PKCS8_pkey_get0_attrs(). Remove the whole broken code and simplify pkcs8_priv_key_info_st accordingly. Based on OpenSSL commit 54dbf42398e23349b59f258a3dd60387bbc5ba13 plus some const that was added later. tested in a bulk build by sthen ok jsing | ||||
* | Provide X509_get0_serialNumber() | tb | 2018-08-24 | 1 | -1/+2 |
| | | | | | tested in a bulk by sthen ok jsing | ||||
* | Turn a number of #defines into proper functions with prototypes matching | tb | 2018-08-24 | 1 | -15/+14 |
| | | | | | | those that OpenSSL has had for ages. ok jsing | ||||
* | Add const to both arguments of X509_certificate_type() and clean up | tb | 2018-05-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | a little: Use X509_get0_pubkey() in place of X509_get_pubkey() and EVP_PKEY_free(). Check return value of the former in the appropriate place and simplify the logic for dealing with the potentially NULL pkey argument (includes a neat tweak from jsing). Finally, kill an ugly comment that has been rotting for twenty years and merge the lines around it. tested in a bulk build by sthen ok jsing | ||||
* | Add a const qualifier to the `name' argument of | tb | 2018-05-30 | 1 | -3/+4 |
| | | | | | | | X509_NAME_get_index_by_{OBJ,NID}(). tested in a bulk build by sthen suggested by & ok jsing | ||||
* | Add const to the obj argument of X509_NAME_add_entry_by_OBJ() | tb | 2018-05-19 | 1 | -3/+3 |
| | | | | | tested in a bulk build by sthen ok jsing | ||||
* | Add const to the 'obj' argument of X509_EXTENSION_create_by_OBJ(). | tb | 2018-05-19 | 1 | -2/+2 |
| | | | | | tested in a bulk build by sthen ok jsing | ||||
* | Add const to the 'x' and 'obj' arguments of: | tb | 2018-05-18 | 1 | -7/+8 |
| | | | | | | | | X509_get_ext(3), X509_get_ext_by_NID(3), X509_get_ext_by_OBJ(3), X509_get_ext_by_critical(3), X509_get_ext_count(3), X509_get_ext_d2i(3). tested in a bulk by sthen ok jsing | ||||
* | Add const to both arguments of X509_check_private_key(3). | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | tested in a bulk build by sthen input & ok jsing | ||||
* | Add const to the argument of X509_ATTRIBUTE_count(3). | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | tested in a bulk build by sthen ok jsing | ||||
* | Add const qualifiers to the name and xp arguments of X509_TRUST_add(3), | tb | 2018-05-18 | 1 | -5/+5 |
| | | | | | | | X509_TRUST_get0_name(3), X509_TRUST_get_flags(3), and X509_TRUST_get_trust(3). tested in a bulk build by sthen ok jsing | ||||
* | Add const qualifiers to the x and obj qualifiers of | tb | 2018-05-18 | 1 | -10/+15 |
| | | | | | | | | | X509_REVOKED_get_ext(3), X509_REVOKED_get_ext_count(3), X509_REVOKED_get_ext_by_NID(3), X509_REVOKED_get_ext_by_OBJ(3), X509_REVOKED_get_ext_by_critical(3), X509_REVOKED_get_ext_d2i(3). tested in a bulk build by sthen ok jsing | ||||
* | Add a const qualifier to the 'X509_NAME *' argument of | tb | 2018-05-18 | 1 | -4/+6 |
| | | | | | | | X509_NAME_print{,_ex{,_fp}}(3). tested in a bulk build by sthen ok jsing | ||||
* | Add const to the 'name' argument of X509_NAME_oneline(3). | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | tested in a bulk build by sthen ok jsing | ||||
* | Add const to the 'obj' argument of X509_NAME_get_text_by_OBJ(3). | tb | 2018-05-18 | 1 | -3/+3 |
| | | | | | tested in a bulk by sthen ok jsing | ||||
* | Add a const qualififer to the 'name' argument of X509_NAME_get_entry(3) | tb | 2018-05-18 | 1 | -4/+4 |
| | | | | | | | and to the 'obj' argument of X509_NAME_get_index_by_OBJ(3) tested in a bulk build by sthen ok jsing | ||||
* | Add const to the argument of X509_NAME_entry_count(). | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | tested in a bulk build by sthen ok jsing | ||||
* | The 'bytes' arguments of X509_NAME_add_entry_by_NID(3) and | tb | 2018-05-18 | 1 | -3/+3 |
| | | | | | | | X509_NAME_add_entry_by_OBJ(3) are now const. tested in a bulk build by sthen ok jsing | ||||
* | Add a const qualifier to the 'X509_NAME_ENTRY *ne' argument of | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | | | X509_NAME_add_entry(3). tested in a bulk build by sthen, ok jsing | ||||
* | Add const to the argument of X509_NAME_ENTRY_get_data(3). | tb | 2018-05-18 | 1 | -2/+2 |
| | | | | | Tested in a bulk build by sthen ok jsing | ||||
* | Add const qualifiers to the 'obj' and 'bytes' arguments of | tb | 2018-05-18 | 1 | -5/+5 |
| | | | | | | | | X509_NAME_ENTRY_create_by_NID(3), X509_NAME_ENTRY_create_by_OBJ(3), and X509_NAME_ENTRY_set_object(3). tested in a bulk build by sthen ok jsing | ||||
* | X509_EXTENSION_get_critical(3) now takes a 'const ASN1_OBJECT *obj' and | tb | 2018-05-18 | 1 | -3/+4 |
| | | | | | | | X509_EXTENSION_set_object(3) a 'const X509_EXTENSION *ex'. tested in a bulk build by sthen, ok jsing | ||||
* | Add const qualifiers to the X509_CRL *x and ASN1_OBJECT *obj arguments of | tb | 2018-05-18 | 1 | -9/+13 |
| | | | | | | | | X509_CRL_get_ext_count(3), X509_CRL_get_ext_by_NID(3), X509_CRL_get_ext_by_OBJ(3), X509_CRL_get_ext_by_critical(3), X509_CRL_get_ext(3), X509_CRL_get_ext_d2i(3). ok jsing | ||||
* | Add const qualifier to the argument of X509_get_issuer_name(3) and | tb | 2018-05-13 | 1 | -3/+3 |
| | | | | | | | X509_get_subject_name(3). tested in a bulk build by sthen ok jsing (as part of a larger diff) | ||||
* | Add const qualifier to the ASN1_OBJECT * parameter of | tb | 2018-05-13 | 1 | -2/+2 |
| | | | | | | | X509v3_get_ext_by_OBJ(3). tested in a bulk build by sthen ok jsing (as part of a larger diff) | ||||
* | Add a const qualifier to the ASN1_OBJECT * argument of the following: | tb | 2018-05-13 | 1 | -6/+6 |
| | | | | | | | | EVP_PKEY_get_attr_by_OBJ(3), X509at_get_attr_by_OBJ(3), X509at_get0_data_by_OBJ(3), X509_REQ_get_attr_by_OBJ(3) tested in a bulk by sthen ok beck (as part of a larger diff) | ||||
* | Convert a handful of X509_*() functions to take const as in OpenSSL. | tb | 2018-05-01 | 1 | -10/+11 |
| | | | | | tested in a bulk by sthen ok jsing | ||||
* | Fix whitespace on a few lines to reduce noise in an upcoming diff. | tb | 2018-05-01 | 1 | -5/+5 |
| | |||||
* | Provide X509_NAME_ENTRY_set() | tb | 2018-03-17 | 1 | -1/+2 |
| | | | | ok jsing | ||||
* | Provide X509_PUBKEY_get0() by splitting X509_PUBKEY_get() and turning it | jsing | 2018-03-17 | 1 | -1/+2 |
| | | | | into a wrapper that calls X509_PUBKEY_get0() and up refs. | ||||
* | Provide X509_REVOKED_dup(). | jsing | 2018-03-17 | 1 | -1/+2 |
| | |||||
* | Provide X509_chain_up_ref(). | jsing | 2018-02-22 | 1 | -1/+2 |
| | | | | From BoringSSL. | ||||
* | Provide X509_get0_tbs_sigalg(). | jsing | 2018-02-22 | 1 | -2/+3 |
| | |||||
* | Provide X509_set1_notBefore() and X509_set1_notAfter(). | jsing | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | Provide X509_get0_pubkey(). | jsing | 2018-02-22 | 1 | -2/+3 |
| | |||||
* | Provide X509_CRL_set1_lastUpdate() and X509_CRL_set1_nextUpdate(). | jsing | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | Provide X509_CRL_get0_extensions() and X509_CRL_get_signature_nid(). | jsing | 2018-02-22 | 1 | -1/+5 |
| | |||||
* | Provide X509_CRL_up_ref(). | jsing | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | Provide X509_REQ_get_signature_nid(). | jsing | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | Provide X509_REVOKED_get0_extensions(), X509_REVOKED_get0_revocationDate() | jsing | 2018-02-22 | 1 | -2/+5 |
| | | | | and X509_REVOKED_get0_serialNumber(). | ||||
* | Provide X509_NAME_get0_der(). | jsing | 2018-02-20 | 1 | -1/+2 |
| | | | | From OpenSSL. | ||||
* | Provide X509_REQ_get0_signature() | jsing | 2018-02-20 | 1 | -1/+4 |
| | |||||
* | Provide X509_CRL_get0_{last,next}Update() and X509_CRL_get0_signature(). | jsing | 2018-02-20 | 1 | -1/+6 |
| | |||||
* | Provide X509_get0_extensions() and X509_get0_signature() | jsing | 2018-02-17 | 1 | -2/+4 |
| | |||||
* | Provide X509_get{0,m}_not{Before,After}(). | jsing | 2018-02-14 | 1 | -1/+5 |
| | |||||
* | Provide X509_get_signature_nid(). | jsing | 2018-02-14 | 1 | -1/+3 |
| | |||||
* | Remove all DECLARE_ASN1_SET_OF macro usage - since 2000 these have been | jsing | 2016-12-27 | 1 | -8/+1 |
| | | | | | nothing but markers for utils/mkstack.pl... and we removed the code that generated more macros from these markers in 2014. | ||||
* | Add X509_up_ref, from boring | beck | 2016-11-04 | 1 | -1/+3 |
| | | | | ok jsing@ |