summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/debug_cmd/debug_cmd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/debug_cmd/debug_cmd.c b/modules/debug_cmd/debug_cmd.c
index 8a59d78..56c1a8f 100644
--- a/modules/debug_cmd/debug_cmd.c
+++ b/modules/debug_cmd/debug_cmd.c
@@ -5,6 +5,9 @@
*/
#include <stdlib.h>
#include <time.h>
+#ifdef USE_OPENSSL
+#include <openssl/crypto.h>
+#endif
#include <re.h>
#include <baresip.h>
@@ -51,6 +54,11 @@ static int print_system_info(struct re_printf *pf, void *arg)
err |= re_hprintf(pf, " Compiler: %s\n", __VERSION__);
#endif
+#ifdef USE_OPENSSL
+ err |= re_hprintf(pf, " OpenSSL: %s\n",
+ SSLeay_version(SSLEAY_VERSION));
+#endif
+
return err;
}