View | Details | Raw Unified | Return to bug 41929
Collapse All | Expand All

(-)trunk/modules/arch/win32/mod_isapi.c (+24 lines)
Lines 1458-1463 Link Here
1458
    else
1458
    else
1459
        apr_table_setn(e, "SERVER_PORT_SECURE", "0");
1459
        apr_table_setn(e, "SERVER_PORT_SECURE", "0");
1460
    apr_table_setn(e, "URL", r->uri);
1460
    apr_table_setn(e, "URL", r->uri);
1461
    if(val = apr_table_get(e, "SSL_CLIENT_VERIFY")) {
1462
        if(strcmp(val, "SUCCESS") == 0)
1463
	    apr_table_setn(e, "CERT_FLAGS", "1");
1464
        else if(strcmp(val, "GENEROUS") == 0)
1465
            apr_table_setn(e, "CERT_FLAGS", "1");
1466
        else if(strncmp(val, "FAILED", 6) == 0)
1467
            apr_table_setn(e, "CERT_FLAGS", "3");
1468
        else
1469
            apr_table_setn(e, "CERT_FLAGS", "0");
1470
    }
1471
    if (val = apr_table_get(e, "SSL_CLIENT_S_DN"))
1472
        apr_table_setn(e, "CERT_SUBJECT", val);
1473
    if (val = apr_table_get(e, "SSL_CLIENT_I_DN"))
1474
        apr_table_setn(e, "CERT_ISSUER", val);
1475
    if (val = apr_table_get(e, "SSL_CIPHER_USEKEYSIZE"))
1476
        apr_table_setn(e, "CERT_KEYSIZE", val);
1477
    if (val = apr_table_get(e, "SSL_CIPHER_ALGKEYSIZE"))
1478
        apr_table_setn(e, "CERT_SECRETKEYSIZE", val);
1479
    if (val = apr_table_get(e, "SSL_CLIENT_M_SERIAL"))
1480
        apr_table_setn(e, "CERT_SERIALNUMBER", val);
1481
    if (val = apr_table_get(e, "SSL_SERVER_I_DN"))
1482
        apr_table_setn(e, "CERT_SERVER_ISSUER", val);
1483
    if (val = apr_table_get(e, "SSL_SERVER_S_DN"))
1484
        apr_table_setn(e, "CERT_SERVER_SUBJECT", val);
1461
1485
1462
    /* Set up connection structure and ecb,
1486
    /* Set up connection structure and ecb,
1463
     * NULL or zero out most fields.
1487
     * NULL or zero out most fields.

Return to bug 41929