From b52aa646c9b4d45703c6d96b13f3f85b720d4f5f Mon Sep 17 00:00:00 2001 From: Dmitrii Pichulin Date: Wed, 27 Mar 2024 00:28:05 +0300 Subject: [PATCH] moving to predictable types --- .github/workflows/codeql-analysis.yml | 4 ++-- src/gostssl.cpp | 2 +- src/msspi | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4ba8a2c..3e8ca38 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,8 +36,8 @@ jobs: cp -r ../src/msspi/src/* ./ cp -r ../src/msspi/third_party/cprocsp/include/* ./include/ g++ -v - g++ -Wall -std=c++14 -g -O2 -fPIC -Werror -Wno-unused-function -Wno-narrowing -I./include gostssl.cpp -c -o gostssl.o - g++ -Wall -std=c++14 -g -O2 -fPIC -Werror -Wno-unused-function -Wno-narrowing -I./include msspi.cpp -c -o msspi.o + g++ -Wall -std=c++14 -g -O2 -fPIC -Werror -Wno-unused-function -I./include gostssl.cpp -c -o gostssl.o + g++ -Wall -std=c++14 -g -O2 -fPIC -Werror -Wno-unused-function -I./include msspi.cpp -c -o msspi.o g++ -shared -o libgostssl.so gostssl.o msspi.o - name: Perform CodeQL Analysis diff --git a/src/gostssl.cpp b/src/gostssl.cpp index 9ce3ee6..f8384d3 100644 --- a/src/gostssl.cpp +++ b/src/gostssl.cpp @@ -782,7 +782,7 @@ void gostssl_verifyhook( void * s, const char * host, unsigned * gost_status, ch msspi_set_hostname( w->h, host ); msspi_set_verify_offline( w->h, offline ); - unsigned verify_status = msspi_verify( w->h ); + int32_t verify_status = msspi_verify( w->h ); switch( verify_status ) { diff --git a/src/msspi b/src/msspi index 70fdcec..4192f80 160000 --- a/src/msspi +++ b/src/msspi @@ -1 +1 @@ -Subproject commit 70fdcec917ce3799f0786d635422e25a5def92a4 +Subproject commit 4192f80665935e77719c37e4610ed84cb42d7e30