diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/exim.c | 3 | ||||
-rw-r--r-- | src/src/utf8.c | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/src/exim.c b/src/src/exim.c index 424806012..cae296477 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1022,6 +1022,9 @@ DEBUG(D_any) do { #ifdef SUPPORT_TLS tls_version_report(f); #endif +#ifdef EXPERIMENTAL_INTERNATIONAL + utf8_version_report(f); +#endif for (authi = auths_available; *authi->driver_name != '\0'; ++authi) { if (authi->version_report) { diff --git a/src/src/utf8.c b/src/src/utf8.c index 32d2eaed0..611bff020 100644 --- a/src/src/utf8.c +++ b/src/src/utf8.c @@ -125,6 +125,25 @@ return res; } +/************************************************* +* Report the library versions. * +*************************************************/ + +/* See a description in tls-openssl.c for an explanation of why this exists. + +Arguments: a FILE* to print the results to +Returns: nothing +*/ + +void +utf8_version_report(FILE *f) +{ +fprintf(f, "Library version: IDN: Compile: %s\n" + " Runtime: %s\n", + STRINGPREP_VERSION, + stringprep_check_version(NULL)); +} + #endif /* whole file */ /* vi: aw ai sw=2 |