Searched refs:asn1 (Results 1 - 3 of 3) sorted by relevance

/httpd/modules/ssl/
H A Dssl_util.c150 ssl_asn1_t *asn1 = apr_hash_get(table, key, klen); local
157 if (asn1) {
158 if (asn1->nData != length) {
159 free(asn1->cpData); /* XXX: realloc? */
160 asn1->cpData = NULL;
164 asn1 = ap_malloc(sizeof(*asn1));
165 asn1->source_mtime = 0; /* used as a note for encrypted private keys */
166 asn1->cpData = NULL;
169 asn1
189 ssl_asn1_t *asn1 = apr_hash_get(table, key, klen); local
[all...]
H A Dssl_engine_pphrase.c75 * reuse vhost keys for asn1 tables where keys are allocated out
139 ssl_asn1_t *asn1; local
193 ssl_asn1_t *asn1 = ssl_asn1_table_get(mc->tPrivateKey, key_id); local
194 if (asn1 && (asn1->source_mtime == pkey_mtime)) {
365 asn1 = ssl_asn1_table_get(mc->tPrivateKey, key_id);
366 asn1->source_mtime = pkey_mtime;
H A Dssl_engine_init.c1044 ssl_asn1_t *asn1; local
1053 if (!(asn1 = ssl_asn1_table_get(mc->tPrivateKey, key_id)) ||
1054 !(ptr = asn1->cpData) ||
1055 !(pkey = d2i_AutoPrivateKey(NULL, &ptr, asn1->nData)) ||

Completed in 14 milliseconds