OCSP observability: variables $tls_{in,out}_ocsp
[exim.git] / src / src / globals.h
index 584d1bd09ea2a480db9fdf71e6a9f4ef3d72b347..9a42fe27e528e9a5e0863aaffe897a15dc1bcd52 100644 (file)
@@ -89,6 +89,12 @@ typedef struct {
   void  *peercert;           /* Certificate of peer, binary */
   uschar *peerdn;             /* DN from peer */
   uschar *sni;                /* Server Name Indication */
+  enum {
+    OCSP_NOT_REQ=0,            /* not requested */
+    OCSP_NOT_RESP,             /* no response to request */
+    OCSP_NOT_VFY,              /* response not verified */
+    OCSP_VFIED                 /* verified */
+    }     ocsp;                      /* Stapled OCSP status */
 } tls_support;
 extern tls_support tls_in;
 extern tls_support tls_out;