Use exim string facilities rather than custom parser for DKIM pubkey
[exim.git] / src / src / pdkim / pdkim.h
index 9899356d572ca05ad954791af96e34d7480d907c..176bc36e0e3c8ac0a974518bfab1c6164b18e542 100644 (file)
@@ -98,14 +98,14 @@ typedef struct sha2_context sha2_context;
 /* -------------------------------------------------------------------------- */
 /* Public key as (usually) fetched from DNS */
 typedef struct pdkim_pubkey {
-  uschar *version;                /* v=  */
-  uschar *granularity;            /* g=  */
+  const uschar * version;         /* v=  */
+  const uschar *granularity;      /* g=  */
 
-  uschar *hashes;                 /* h=  */
+  const uschar * hashes;          /* h=  */
 #ifdef notdef
   uschar *keytype;                /* k=  */
 #endif
-  uschar *srvtype;                /* s=  */
+  const uschar *srvtype;          /* s=  */
   uschar *notes;                  /* n=  */
 
   blob  key;                      /* p=  */