summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-09 21:25:45 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-12 23:31:56 +0100
commitb04be5e70485a99e9e6fad2313ffa9f99735767f (patch)
tree211fa312871d0fc9a99b9a69b51d67dcd41436d2 /src
parent9bfc60ebf1f86a212280c19a28bb4399e8fbb392 (diff)
utf8 recipient
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c3
-rw-r--r--src/src/utf8.c19
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