microsoft / SCXcore

System Center Cross Platform Provider for Operations Manager
Microsoft Public License
36 stars 31 forks source link

opsmgr changes for using sha2 to encrypt certificate instead of sha1 #175

Closed Yash-Khatri closed 3 years ago

Yash-Khatri commented 3 years ago

on SunOS_5.10_X86, I see it built failed:

mkdir -p /export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/intermediate/SunOS_5.10_x86_32_Release/source/code/shared/tools/scx_ssl_config
CC -c `pkg-config --cflags openssl` -DPF_MAJOR=5 -DPF_MINOR=10 -D_LARGEFILE64_SOURCE=1 -DNDEBUG -errtags -erroff=badargtype2w,wbadinit,wnoretvalue,truncwarn -xwe +w -KPIC -mt -xspace -xtarget=generic -xarch=generic -features=no%split_init -xO1 -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/pal/source/code/include -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/intermediate/SunOS_5.10_x86_32_Release/include -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/pal/intermediate/SunOS_5.10_x86_32_Release/include -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/pal -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/pal/test/ext/include -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/omi/Unix/output/include -I/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/source/code/shared/tools/scx_ssl_config -o /export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/intermediate/SunOS_5.10_x86_32_Release/source/code/shared/tools/scx_ssl_config/scxsslcert.o /export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/source/code/shared/tools/scx_ssl_config/scxsslcert.cpp
"/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/source/code/shared/tools/scx_ssl_config/scxsslcert.cpp", line 549: Error, badfunccp: The function "EVP_sha256" must have a prototype.
1 Error(s) detected.
make: *** [/export/home/serviceb/jenkins/workspace/SCXCore-Runner/label/SunOS_5.10_X86/opsmgr/intermediate/SunOS_5.10_x86_32_Release/source/code/shared/tools/scx_ssl_config/scxsslcert.o] Error 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE

As Discussed, We should upgrade the openssl version in the build environment