"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/md_crypt.h" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

md_crypt.h  (mod_md-2.4.2):md_crypt.h  (mod_md-2.4.4)
skipping to change at line 44 skipping to change at line 44
apr_time_t md_asn1_generalized_time_get(void *ASN1_GENERALIZEDTIME); apr_time_t md_asn1_generalized_time_get(void *ASN1_GENERALIZEDTIME);
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* digests */ /* digests */
apr_status_t md_crypt_sha256_digest64(const char **pdigest64, apr_pool_t *p, apr_status_t md_crypt_sha256_digest64(const char **pdigest64, apr_pool_t *p,
const struct md_data_t *data); const struct md_data_t *data);
apr_status_t md_crypt_sha256_digest_hex(const char **pdigesthex, apr_pool_t *p, apr_status_t md_crypt_sha256_digest_hex(const char **pdigesthex, apr_pool_t *p,
const struct md_data_t *data); const struct md_data_t *data);
#define MD_DATA_SET_STR(d, s) do { (d)->data = (s); (d)->len = strlen(s);
} while(0)
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* private keys */ /* private keys */
typedef struct md_pkey_t md_pkey_t; typedef struct md_pkey_t md_pkey_t;
typedef enum { typedef enum {
MD_PKEY_TYPE_DEFAULT, MD_PKEY_TYPE_DEFAULT,
MD_PKEY_TYPE_RSA, MD_PKEY_TYPE_RSA,
MD_PKEY_TYPE_EC, MD_PKEY_TYPE_EC,
} md_pkey_type_t; } md_pkey_type_t;
skipping to change at line 220 skipping to change at line 218
/** /**
* Create a certificate for answering "tls-alpn-01" ACME challenges * Create a certificate for answering "tls-alpn-01" ACME challenges
* (see <https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-01>). * (see <https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-01>).
*/ */
apr_status_t md_cert_make_tls_alpn_01(md_cert_t **pcert, const char *domain, apr_status_t md_cert_make_tls_alpn_01(md_cert_t **pcert, const char *domain,
const char *acme_id, md_pkey_t *pkey, const char *acme_id, md_pkey_t *pkey,
apr_interval_time_t valid_for, apr_pool_t *p); apr_interval_time_t valid_for, apr_pool_t *p);
apr_status_t md_cert_get_ct_scts(apr_array_header_t *scts, apr_pool_t *p, const md_cert_t *cert); apr_status_t md_cert_get_ct_scts(apr_array_header_t *scts, apr_pool_t *p, const md_cert_t *cert);
apr_status_t md_cert_get_ocsp_responder_url(const char **purl, apr_pool_t *p, co
nst md_cert_t *cert);
/******************************************************************************* *******************/ /******************************************************************************* *******************/
/* X509 certificate transparency */ /* X509 certificate transparency */
const char *md_nid_get_sname(int nid); const char *md_nid_get_sname(int nid);
const char *md_nid_get_lname(int nid); const char *md_nid_get_lname(int nid);
typedef struct md_sct md_sct; typedef struct md_sct md_sct;
struct md_sct { struct md_sct {
int version; int version;
apr_time_t timestamp; apr_time_t timestamp;
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)