From 91e1b0675d531e87a8866ab6595692a3fa52c322 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周六, 14 12月 2019 13:56:41 +0800 Subject: [PATCH] Merge pull request #69 from open-license-manager/feature/issue_licenses_42 --- src/library/pc-identifiers.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/library/pc-identifiers.h b/src/library/pc-identifiers.h index 2d36da8..2eb0d56 100644 --- a/src/library/pc-identifiers.h +++ b/src/library/pc-identifiers.h @@ -2,12 +2,13 @@ * pc-identifiers.h * * Created on: Apr 16, 2014 - * + * */ #ifndef PC_IDENTIFIERS_H_ #define PC_IDENTIFIERS_H_ -#include "api/datatypes.h" + +#include <licensecc/datatypes.h> #include "base/base.h" #ifdef __cplusplus @@ -15,7 +16,7 @@ #endif typedef unsigned char PcIdentifier[6]; -typedef char PcSignature[21]; +typedef char PcSignature[PC_IDENTIFIER_SIZE + 1]; FUNCTION_RETURN generate_pc_id(PcIdentifier * identifiers, unsigned int * array_size, IDENTIFICATION_STRATEGY strategy); @@ -29,8 +30,7 @@ * @param strategy * @return */ -FUNCTION_RETURN generate_user_pc_signature(PcSignature identifier_out, - IDENTIFICATION_STRATEGY strategy); +FUNCTION_RETURN generate_user_pc_signature(PcSignature identifier_out, IDENTIFICATION_STRATEGY strategy); #ifdef __cplusplus } -- Gitblit v1.9.1