Changeset 46e3920 in mod_gnutls
- Timestamp:
- Apr 24, 2005, 7:46:06 PM (18 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
- Children:
- 2ad3683
- Parents:
- 7ba803b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
r7ba803b r46e3920 580 580 581 581 len = sizeof(buf); 582 if (gnutls_x509_crt_get_dn(cert, buf, &len) == 0) { 583 apr_table_setn(env, "SSL_SERVER_S_DN", buf); 584 } 582 gnutls_x509_crt_get_dn(cert, buf, &len); 583 apr_table_setn(env, "SSL_SERVER_S_DN", buf); 585 584 586 585 len = sizeof(buf); 587 if (gnutls_x509_crt_get_issuer_dn(cert, buf, &len) == 0) { 588 apr_table_setn(env, "SSL_SERVER_I_DN", buf); 589 } 586 gnutls_x509_crt_get_issuer_dn(cert, buf, &len); 587 apr_table_setn(env, "SSL_SERVER_I_DN", buf); 590 588 591 589 gnutls_x509_crt_deinit(cert); 590 } 591 else { 592 apr_table_setn(env, "SSL_SERVER_S_DN", "Unknown"); 593 apr_table_setn(env, "SSL_SERVER_I_DN", "Unknown"); 592 594 } 593 595 }
Note: See TracChangeset
for help on using the changeset viewer.