Displaying 2 results from an estimated 2 matches for "extdata_index".
2006 Jun 01
1
ssl-proxy: client certificates and crl check
...NAME_get_text_by_NID(X509_get_subject_name(x509),NID_commonName,buf,sizeof(buf)) < 0 )
+ { buf[0] = '\0'; }
+ name = t_strndup(buf, sizeof(buf) );
X509_free(x509);
-
+ /* HJHJ */
+
return *name == '\0' ? NULL : name;
}
@@ -582,10 +588,22 @@
proxy = SSL_get_ex_data(ssl, extdata_index);
proxy->cert_received = TRUE;
+
+ /* HJHJ */
+ char buf[1024];
+ X509_NAME_oneline( X509_get_subject_name(ctx->current_cert),buf,sizeof(buf));
+
if (!preverify_ok)
+ {
proxy->cert_broken = TRUE;
+ i_warning("BAD CERT %s: %s",X509_verify_cert_error_string(ctx->erro...
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi,
I have rewritten the patches I submitted earlier today for the CVS
HEAD. Some of the changes were already committed months ago.
On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote:
> That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it
> is mostly because I wanted to keep bsearch() API. If it can't return
> void * then maybe it could be