git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build for OpenSSL 3.0.0 . Bug 2810
[exim.git]
/
src
/
src
/
rfc2047.c
diff --git
a/src/src/rfc2047.c
b/src/src/rfc2047.c
index 6c461029b136d1f9e0ea6ab036bb85032612e9e6..4679d767750ab9ce86ce544eaec66375ae85a69b 100644
(file)
--- a/
src/src/rfc2047.c
+++ b/
src/src/rfc2047.c
@@
-3,7
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 */
+/* Copyright (c) The Exim Maintainers 2020
- 2021
*/
/* See the file NOTICE for conditions of use and distribution. */
/* This file contains a function for decoding message header lines that may
/* See the file NOTICE for conditions of use and distribution. */
/* This file contains a function for decoding message header lines that may
@@
-186,8
+186,8
@@
Returns: the decoded, converted string, or NULL on error; if there are
*/
uschar *
*/
uschar *
-rfc2047_decode2(uschar *string, BOOL lencheck,
uschar *target, int zeroval
,
- int *lenptr, int *sizeptr, uschar **error)
+rfc2047_decode2(uschar *string, BOOL lencheck,
const uschar *target
,
+ int
zeroval, int
*lenptr, int *sizeptr, uschar **error)
{
int size = Ustrlen(string);
size_t dlen;
{
int size = Ustrlen(string);
size_t dlen;
@@
-336,7
+336,7
@@
return string_from_gstring(yield);
argument. */
uschar *
argument. */
uschar *
-rfc2047_decode(uschar *string, BOOL lencheck, uschar *target, int zeroval,
+rfc2047_decode(uschar *string, BOOL lencheck,
const
uschar *target, int zeroval,
int *lenptr, uschar **error)
{
return rfc2047_decode2(string, lencheck, target, zeroval, lenptr, NULL, error);
int *lenptr, uschar **error)
{
return rfc2047_decode2(string, lencheck, target, zeroval, lenptr, NULL, error);