From 6aa6967d26e457c42fb9dd57610818bc1e3655e3 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Thu, 28 Jan 2016 08:55:09 +0100 Subject: [PATCH] show sodium version --- ocat.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ocat.c b/ocat.c index f029c5d..5d1f5c1 100644 --- a/ocat.c +++ b/ocat.c @@ -32,6 +32,9 @@ #include "util.h" #include "misc.h" #include "version.h" +#if WITH_ENCRYPT +# include +#endif static void print_xml_line(char *line, void *param) { @@ -122,6 +125,9 @@ void print_versioninfo() #ifdef WITH_LMDB printf("\tMDB VERSION = %s\n", MDB_VERSION_STRING); #endif +#ifdef WITH_ENCRYPT + printf("\tSODIUM VERSION = %s\n", SODIUM_VERSION_STRING); +#endif exit(0); }