From 158f49dc464ac2db060e0c9c11965a21c36dbd5e Mon Sep 17 00:00:00 2001 From: kakwa Date: Sun, 4 Dec 2016 13:39:27 +0100 Subject: [PATCH] format code --- inc/rfc3161.h | 5 +++-- src/lib/rfc3161.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/inc/rfc3161.h b/inc/rfc3161.h index aa7db08..bcb7810 100644 --- a/inc/rfc3161.h +++ b/inc/rfc3161.h @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -11,12 +12,12 @@ #include #include #include -#include #if OPENSSL_VERSION_NUMBER < 0x10000000L #error OpenSSL version too old #endif -#if OPENSSL_VERSION_NUMBER < 0x10100000L && OPENSSL_VERSION_NUMBER >= 0x10000000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L && \ + OPENSSL_VERSION_NUMBER >= 0x10000000L #define OPENSSL_API_1_0 #endif #if OPENSSL_VERSION_NUMBER >= 0x10100000L diff --git a/src/lib/rfc3161.c b/src/lib/rfc3161.c index 24afef0..7912216 100644 --- a/src/lib/rfc3161.c +++ b/src/lib/rfc3161.c @@ -306,8 +306,8 @@ end: uts_logger(ct, LOG_DEBUG, "Request[%s], TimeStamp OpenSSL status: |%s", *serial_id, bptr->data); - // emit logs according the return value - // and set the return code +// emit logs according the return value +// and set the return code #ifdef OPENSSL_API_1_1 long status = ASN1_INTEGER_get( TS_STATUS_INFO_get0_status(TS_RESP_get_status_info(ts_response)));