gcontini
2019-11-16 5a8a12d7a2c69610cd7a9a00ed1b3579b750a914
src/library/os/os.c
@@ -1,9 +1,9 @@
#include "os.h"
#include "../base/logger.h"
#include "public-key.h"
#include <public_key.h>
#include <stdio.h>
#ifndef _MSC_VER
#ifdef __linux__
#include <openssl/pem.h>
@@ -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));
@@ -84,7 +84,7 @@
#else
#include <iphlpapi.h>
#include <Windows.h>
#include <windows.h>
#pragma comment(lib, "IPHLPAPI.lib")
unsigned char* unbase64(const char* ascii, int len, int *flen);