Displaying 5 results from an estimated 5 matches for "ssl_info_callback".
2007 Jun 11
2
SSL_CTX_set_info_callback problem in latest source
In the file ./src/login-common/ssl-proxy-openssl.c appears the code:
if (verbose_ssl)
SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback);
It appears the SSL_CTX_set_info_callback symbol only occurs in the
openssl development branch starting with 0x00909000L as this symbol
is missing from openssl 0.9.8b and 0.9.8e (no check of the latest
nightly snapshot of the stable 0.9.8 branch).
It appears there should be a compilation guard a...
2013 Jul 06
1
[PATCH] login-common: Add support for ECDH/ECDHE cipher suites
..._hash(const struct ssl_server_context *ctx)
{
unsigned int i, g, h = 0;
@@ -993,11 +997,58 @@
store = SSL_CTX_get_cert_store(ssl_ctx);
load_ca(store, set->ssl_ca, load_xnames ? &xnames : NULL);
}
+ ssl_proxy_ctx_set_crypto_params(ssl_ctx, set);
SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback);
+ return xnames;
+}
+
+static void
+ssl_proxy_ctx_set_crypto_params(SSL_CTX *ssl_ctx,
+ const struct master_service_ssl_settings *set)
+{
+#if !defined(OPENSSL_NO_ECDH) && OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x1000...
2008 Jun 11
0
Dovecot 1.1 rc9 compilation warnings
...gt; maildir-uidlist.c:783: warning: comparison between signed and unsigned
Solaris 8/10 and SLES 9
> mail-storage.c: In function `mail_storage_create':
> mail-storage.c:175: warning: `storage' might be used uninitialized in this function
SLES 9
> ssl-proxy-openssl.c: In function `ssl_info_callback':
> ssl-proxy-openssl.c:619: warning: passing arg 1 of `SSL_get_ex_data' discards qualifiers from pointer target type
Solaris 8 and SLES 9
> idxview.c: In function `dump_extensions':
> idxview.c:104: warning: `extensions' might be used uninitialized in this function
Solar...
2009 Jan 21
1
dovecot 1.1.8 compile error
...penssl.c: In function `ssl_params_corrupted':
ssl-proxy-openssl.c:85: `PKG_STATEDIR' undeclared (first use in this
function)
ssl-proxy-openssl.c:85: (Each undeclared identifier is reported only once
ssl-proxy-openssl.c:85: for each function it appears in.)
ssl-proxy-openssl.c: In function `ssl_info_callback':
ssl-proxy-openssl.c:658: warning: passing arg 1 of `SSL_get_ex_data'
discards qualifiers from pointer target type
*** Error code 1
make: Fatal error: Command failed for target `ssl-proxy-openssl.o'
Current working directory /userM/src/dovecot-1.1.8/src/login-common
*** Error code 1
T...
2015 Feb 11
2
[PATCH] Fix for client certificate validation does not work
...>ssl_ca != '\0') {
/* set trusted CA certs */
- store = SSL_CTX_get_cert_store(ssl_ctx);
- load_ca(store, set->ssl_ca, load_xnames ? &xnames : NULL);
+ load_ca(ssl_ctx, set->ssl_ca);
}
ssl_proxy_ctx_set_crypto_params(ssl_ctx, set);
SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback);
- return xnames;
}
static void
@@ -1068,7 +1037,7 @@
}
static void
-ssl_proxy_ctx_verify_client(SSL_CTX *ssl_ctx, STACK_OF(X509_NAME) *ca_names)
+ssl_proxy_ctx_verify_client(SSL_CTX *ssl_ctx)
{
#if OPENSSL_VERSION_NUMBER >= 0x00907000L
X509_STORE *store;
@@ -1079,8 +1048,6 @@
#end...