httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Reid <da...@jetnet.co.uk>
Subject [PATCH] get a pointer to the raw cert from mod_ssl
Date Wed, 02 Feb 2005 10:17:04 GMT
Basically this allows us to gain access to the actual cert structure.

Index: ssl_engine_vars.c
===================================================================
--- ssl_engine_vars.c   (revision 123890)
+++ ssl_engine_vars.c   (working copy)
@@ -364,6 +364,10 @@
      else if (strcEQ(var, "CERT")) {
          result = ssl_var_lookup_ssl_cert_PEM(p, xs);
      }
+    else if (strcEQ(var, "RAW_CERT")) {
+        result = (char *)xs;
+        resdup = FALSE;
+    }

      if (result != NULL && resdup)
          result = apr_pstrdup(p, result);

Mime
View raw message