String handling: refactor the expanding-string routines and users to use a descriptor...
[exim.git] / src / src / pdkim / pdkim.h
index a350e6b7e5a8046291be3746c54c495ed39048cc..a34999ad83d42afbfebcf51b7a4d2bb75ee1dccd 100644 (file)
@@ -259,10 +259,8 @@ typedef struct pdkim_ctx {
   int(*dns_txt_callback)(char *, char *);
 
   /* Coder's little helpers */
-  uschar    *cur_header;
-  int        cur_header_size;
-  int        cur_header_len;
-  char      *linebuf;
+  gstring   *cur_header;
+  uschar    *linebuf;
   int        linebuf_offset;
   int        num_headers;
   pdkim_stringlist *headers; /* Raw headers for verification         */