mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
Merge branch 'edge' of http://git.int.zerotier.com/zerotier/ZeroTierOne into edge
This commit is contained in:
commit
f5e71f64ed
@ -125,3 +125,7 @@ endif(BUILD_CENTRAL_CONTROLLER)
|
|||||||
|
|
||||||
add_executable(${PROJECT_NAME} ${src} ${headers})
|
add_executable(${PROJECT_NAME} ${src} ${headers})
|
||||||
target_link_libraries(${PROJECT_NAME} ${libs})
|
target_link_libraries(${PROJECT_NAME} ${libs})
|
||||||
|
|
||||||
|
|
||||||
|
add_executable(zerotier-selftest selftest.cpp)
|
||||||
|
target_link_libraries(zerotier-selftest ${libs})
|
||||||
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -14,10 +14,12 @@ parallel 'centos7': {
|
|||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
stage('Build Centos 7') {
|
stage('Build Centos 7') {
|
||||||
sh '''rm -rf build/
|
sh '''. /opt/rh/devtoolset-8/enable
|
||||||
|
rm -rf build/
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
CC=clang CXX=clang++ cmake ..
|
cmake ..
|
||||||
make -j4
|
make -j4
|
||||||
|
./zerotier-selftest
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -243,7 +243,7 @@ char *Identity::toString(bool includePrivate,char buf[ZT_IDENTITY_STRING_BUFFER_
|
|||||||
}
|
}
|
||||||
*p = (char)0;
|
*p = (char)0;
|
||||||
return buf;
|
return buf;
|
||||||
}
|
} break;
|
||||||
case P384: {
|
case P384: {
|
||||||
char *p = buf;
|
char *p = buf;
|
||||||
Utils::hex10(_address.toInt(),p);
|
Utils::hex10(_address.toInt(),p);
|
||||||
@ -262,6 +262,7 @@ char *Identity::toString(bool includePrivate,char buf[ZT_IDENTITY_STRING_BUFFER_
|
|||||||
return buf;
|
return buf;
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Identity::fromString(const char *str)
|
bool Identity::fromString(const char *str)
|
||||||
|
Loading…
Reference in New Issue
Block a user