Searched defs:cert (Results 1 - 5 of 5) sorted by relevance
| /dovecot/src/lib-ssl-iostream/ |
| H A D | iostream-ssl-context-cache.c | 20 const char *const cert[] = { cache->set.cert.cert, cache->set.alt_cert.cert }; local 25 for (n = 0; n < N_ELEMENTS(cert); n++) { 26 if (cert[n] == NULL) 29 for (i = 0; i < 64 && cert[n][i] != '\0'; i++) { 30 h = (h << 4) + cert[n][i];
|
| H A D | iostream-ssl.h | 8 const char *cert; member in struct:ssl_iostream_cert 21 /* alternative cert is for providing certificate using 23 struct ssl_iostream_cert cert; /* both */ member in struct:ssl_iostream_settings 94 /* Returns TRUE if the remote cert is invalid, or handshake callback returned
|
| H A D | iostream-openssl-common.c | 85 static const char *get_cname(X509 *cert) argument 92 name = X509_get_subject_name(cert); 122 X509 *cert; local 133 cert = SSL_get_peer_certificate(ssl); 134 i_assert(cert != NULL); 137 gnames = X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL); 180 const char *cname = get_cname(cert); 193 X509_free(cert); 252 return "Key is for a different cert than ssl_cert"; 257 static bool is_pem_key(const char *cert) argument 263 openssl_iostream_use_certificate_error(const char *cert, const char *set_name) argument [all...] |
| H A D | iostream-openssl-context.c | 184 static int ssl_ctx_use_certificate_chain(SSL_CTX *ctx, const char *cert) argument 191 in = BIO_new_mem_buf(t_strdup_noconst(cert), strlen(cert)); 402 if (set->cert.cert != NULL && 403 ssl_ctx_use_certificate_chain(ctx->ssl_ctx, set->cert.cert) == 0) { 405 openssl_iostream_use_certificate_error(set->cert.cert, NULL)); 408 if (set->cert [all...] |
| H A D | iostream-openssl.c | 62 openssl_iostream_use_certificate(struct ssl_iostream *ssl_io, const char *cert, argument 69 in = BIO_new_mem_buf(t_strdup_noconst(cert), strlen(cert)); 87 openssl_iostream_use_certificate_error(cert, NULL)); 203 if (set->cert.cert != NULL && strcmp(ctx_set->cert.cert, set->cert.cert) ! [all...] |
Completed in 49 milliseconds