From n.mavrogiannopoulos at gmail.com Fri Aug 1 13:42:48 2014 From: n.mavrogiannopoulos at gmail.com (Nikos Mavrogiannopoulos) Date: Fri, 1 Aug 2014 13:42:48 +0200 Subject: [mod_gnutls-devel] (no subject) In-Reply-To: References: Message-ID: On Fri, Jul 4, 2014 at 3:48 PM, Nikos Mavrogiannopoulos wrote: > Hello, > The attached patch adds PKCS #11/TPM support to mod_gnutls. The > objects (keys and certificates), can be specified as PKCS #11 URLs > [0], and you can see those URLs using gnutls' p11tool. Most probably > some better documentation of these URLs is needed. Hello, Any update on that? Would that patch be accepted? regards, Nikos From ramkumar.chinchani at gmail.com Sun Aug 10 18:39:20 2014 From: ramkumar.chinchani at gmail.com (Ramkumar Chinchani) Date: Sun, 10 Aug 2014 09:39:20 -0700 Subject: [mod_gnutls-devel] static analysis using clang Message-ID: FWIW, here are the results: gnutls_io.c:54:51: warning: Access to field 'module_config' results in a dereference of a null pointer (loaded from field 'base_server') mgs_srvconf_rec *sc = (mgs_srvconf_rec *) ap_get_module_config( ^~~~~~~~~~~~~~~~~~~~~ /usr/include/apache2/http_config.h:508:16: note: expanded from macro 'ap_get_module_config' (((void **)(v))[(m)->module_index]) ^~~ 1 warning generated. gnutls_hooks.c:441:40: warning: Array access (via field 'certs_x509_chain') results in a null pointer dereference rv = read_crt_cn(s, p, sc->certs_x509_chain[0], &sc->cert_cn); ^~~~~~~~~~~~~~~~~~~~~~~ gnutls_hooks.c:1200:13: warning: Value stored to 'rv' is never read rv = 0; ^ ~ gnutls_hooks.c:1279:16: warning: The left operand of '&' is a garbage value if (status & GNUTLS_CERT_SIGNER_NOT_FOUND) { ~~~~~~ ^ 3 warnings generated. -------------- next part -------------- An HTML attachment was scrubbed... URL: