From 233c48673fe95551dbd002d8c633b201c707291c Mon Sep 17 00:00:00 2001 From: hkc320 Date: Mon, 25 Nov 2024 11:18:19 +0800 Subject: [PATCH] hv 1.3.3 --- sdk/include/hv/base64.h | 2 +- sdk/include/hv/hconfig.h | 2 +- sdk/include/hv/hlog.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/include/hv/base64.h b/sdk/include/hv/base64.h index 84b8a53..eae147d 100644 --- a/sdk/include/hv/base64.h +++ b/sdk/include/hv/base64.h @@ -4,7 +4,7 @@ #include "hexport.h" #define BASE64_ENCODE_OUT_SIZE(s) (((s) + 2) / 3 * 4) -#define BASE64_DECODE_OUT_SIZE(s) (((s)) / 4 * 3) +#define BASE64_DECODE_OUT_SIZE(s) (((s) + 3) / 4 * 3) BEGIN_EXTERN_C diff --git a/sdk/include/hv/hconfig.h b/sdk/include/hv/hconfig.h index a63861f..3e063ad 100644 --- a/sdk/include/hv/hconfig.h +++ b/sdk/include/hv/hconfig.h @@ -89,7 +89,7 @@ #define HAVE_SETPROCTITLE 0 #endif -#define WITH_OPENSSL 1 +/* #undef WITH_OPENSSL */ /* #undef WITH_GNUTLS */ /* #undef WITH_MBEDTLS */ diff --git a/sdk/include/hv/hlog.h b/sdk/include/hv/hlog.h index 5836b90..15a575c 100644 --- a/sdk/include/hv/hlog.h +++ b/sdk/include/hv/hlog.h @@ -1,4 +1,4 @@ -#ifndef HV_LOG_H_ +#ifndef HV_LOG_H_ #define HV_LOG_H_ /*