show sodium version

This commit is contained in:
Jan-Piet Mens 2016-01-28 08:55:09 +01:00
parent 81695623ac
commit 6aa6967d26

6
ocat.c
View File

@ -32,6 +32,9 @@
#include "util.h"
#include "misc.h"
#include "version.h"
#if WITH_ENCRYPT
# include <sodium.h>
#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);
}