From cd279f99fc3249c731ced737ca88fb66f9c3801c Mon Sep 17 00:00:00 2001 From: Jan Willamowius <jan@willamowius.de> Date: 周三, 24 4月 2019 05:33:23 +0800 Subject: [PATCH] fix switch to add extra_data to license, revert change that broke copying of nul byte at end of date --- src/tools/base_lib/linux/CryptoHelperLinux.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tools/base_lib/linux/CryptoHelperLinux.h b/src/tools/base_lib/linux/CryptoHelperLinux.h index 2573ca3..534b1e3 100644 --- a/src/tools/base_lib/linux/CryptoHelperLinux.h +++ b/src/tools/base_lib/linux/CryptoHelperLinux.h @@ -27,7 +27,7 @@ virtual const string exportPrivateKey() const; virtual const string exportPublicKey() const; - virtual string signString(const unsigned char* privateKey, size_t pklen, + virtual string signString(const void* privateKey, size_t pklen, const string& license) const; virtual ~CryptoHelperLinux(); }; -- Gitblit v1.9.1