ASF Bugzilla – Attachment 19773 Details for
Bug 41929
ISAPI ssl variables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mod_isapi trunk patch
isapi-trunk-cert.patch (text/plain), 1.56 KB, created by
Matt Eaton
on 2007-03-22 09:58:08 UTC
(
hide
)
Description:
mod_isapi trunk patch
Filename:
MIME Type:
Creator:
Matt Eaton
Created:
2007-03-22 09:58:08 UTC
Size:
1.56 KB
patch
obsolete
>Index: trunk/modules/arch/win32/mod_isapi.c >=================================================================== >--- trunk/modules/arch/win32/mod_isapi.c (revision 521340) >+++ trunk/modules/arch/win32/mod_isapi.c (working copy) >@@ -1458,6 +1458,30 @@ > else > apr_table_setn(e, "SERVER_PORT_SECURE", "0"); > apr_table_setn(e, "URL", r->uri); >+ if(val = apr_table_get(e, "SSL_CLIENT_VERIFY")) { >+ if(strcmp(val, "SUCCESS") == 0) >+ apr_table_setn(e, "CERT_FLAGS", "1"); >+ else if(strcmp(val, "GENEROUS") == 0) >+ apr_table_setn(e, "CERT_FLAGS", "1"); >+ else if(strncmp(val, "FAILED", 6) == 0) >+ apr_table_setn(e, "CERT_FLAGS", "3"); >+ else >+ apr_table_setn(e, "CERT_FLAGS", "0"); >+ } >+ if (val = apr_table_get(e, "SSL_CLIENT_S_DN")) >+ apr_table_setn(e, "CERT_SUBJECT", val); >+ if (val = apr_table_get(e, "SSL_CLIENT_I_DN")) >+ apr_table_setn(e, "CERT_ISSUER", val); >+ if (val = apr_table_get(e, "SSL_CIPHER_USEKEYSIZE")) >+ apr_table_setn(e, "CERT_KEYSIZE", val); >+ if (val = apr_table_get(e, "SSL_CIPHER_ALGKEYSIZE")) >+ apr_table_setn(e, "CERT_SECRETKEYSIZE", val); >+ if (val = apr_table_get(e, "SSL_CLIENT_M_SERIAL")) >+ apr_table_setn(e, "CERT_SERIALNUMBER", val); >+ if (val = apr_table_get(e, "SSL_SERVER_I_DN")) >+ apr_table_setn(e, "CERT_SERVER_ISSUER", val); >+ if (val = apr_table_get(e, "SSL_SERVER_S_DN")) >+ apr_table_setn(e, "CERT_SERVER_SUBJECT", val); > > /* Set up connection structure and ecb, > * NULL or zero out most fields.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41929
: 19773