From 5a8a12d7a2c69610cd7a9a00ed1b3579b750a914 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 16 11月 2019 21:39:10 +0800
Subject: [PATCH] issue #42 #38 \n review build system, \n issue #38 added clang format

---
 src/library/os/os.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/library/os/os.c b/src/library/os/os.c
index ad4803b..802a46d 100644
--- a/src/library/os/os.c
+++ b/src/library/os/os.c
@@ -1,6 +1,6 @@
 #include "os.h"
 #include "../base/logger.h"
-#include "public-key.h"
+#include <public_key.h>
 #include <stdio.h>
 
 #ifdef __linux__
@@ -19,7 +19,7 @@
 FUNCTION_RETURN verifySignature(const char* stringToVerify,
 		const char* signatureB64) {
 	EVP_MD_CTX *mdctx = NULL;
-	const char *pubKey = PUBLIC_KEY;
+	const char pubKey[] = PUBLIC_KEY;
 	int func_ret = 0;
 
 	BIO* bio = BIO_new_mem_buf((void*) (pubKey), strlen(pubKey));

--
Gitblit v1.9.1