X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Ftls.c;h=121b3d962de71f5ae8c1453c0c77e1af82e0dc96;hb=e29b631dc8f5694dd5964b40a85086015fdff054;hp=a5cb35bd9bba039f03478edf4fb1b2634dc192a5;hpb=cf0c61644d7dd2dfb29f6418d95bf4d8cae199ea;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/tls.c b/src/src/tls.c index a5cb35bd9..121b3d962 100644 --- a/src/src/tls.c +++ b/src/src/tls.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2016 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ /* This module provides TLS (aka SSL) support for Exim. The code for OpenSSL is @@ -263,7 +263,7 @@ uschar outsep = '\n'; uschar * ele; uschar * match = NULL; int len; -uschar * list = NULL; +gstring * list = NULL; while ((ele = string_nextinlist(&mod, &insep, NULL, 0))) if (ele[0] != '>') @@ -279,7 +279,7 @@ while ((ele = string_nextinlist(CUSS &dn, &insep, NULL, 0))) || Ustrncmp(ele, match, len) == 0 && ele[len] == '=' ) list = string_append_listele(list, outsep, ele+len+1); -return list; +return string_from_gstring(list); }