mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
show sodium version
This commit is contained in:
parent
81695623ac
commit
6aa6967d26
6
ocat.c
6
ocat.c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user