mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 11:20:04 +02:00
wip
This commit is contained in:
parent
b753732197
commit
e8e76b6de2
@ -14,6 +14,7 @@ add_library(slsDetectorObject OBJECT
|
||||
|
||||
target_include_directories(slsDetectorObject PUBLIC
|
||||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
|
||||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../slsSupportLib/opensslMd5>"
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
|
||||
)
|
||||
|
||||
|
@ -3415,10 +3415,10 @@ sls_detector_module Module::readSettingsFile(const std::string &fname,
|
||||
std::string Module::calculateChecksum(char *buffer, ssize_t bytes) {
|
||||
MD5_CTX c;
|
||||
MD5_Init(&c);
|
||||
MD5_Update(&c, bufer, bytes);
|
||||
MD5_Update(&c, buffer, bytes);
|
||||
unsigned char out[MD5_DIGEST_LENGTH];
|
||||
MD5_Final(out, &c);
|
||||
return std::string(out);
|
||||
return std::string(reinterpret_cast<char const *>(out));
|
||||
}
|
||||
|
||||
void Module::programFPGAviaBlackfin(std::vector<char> buffer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user