mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
🔧 Replace deprecated OpenSSL functions (#191)
* do not use deprecated functions in ecdsa context * check ecdsa key on creation * add test * set compiler flags correctly * set compiler flags correctly attempt 2 Co-authored-by: Chris McArthur <prince.chrismc@gmail.com>
This commit is contained in:
15
.github/workflows/ssl.yml
vendored
15
.github/workflows/ssl.yml
vendored
@@ -47,6 +47,21 @@ jobs:
|
||||
label: ${{ matrix.openssl.name }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
openssl-no-deprecated:
|
||||
runs-on: ubuntu-latest
|
||||
name: OpenSSL 3.0 No Deprecated
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: lukka/get-cmake@latest
|
||||
- uses: ./.github/actions/install/gtest
|
||||
- uses: ./.github/actions/install/openssl
|
||||
with:
|
||||
version: "openssl-3.0.0"
|
||||
|
||||
- name: configure
|
||||
run: cmake . -DJWT_BUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/tmp -DCMAKE_CXX_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1" -DCMAKE_C_FLAGS="-DOPENSSL_NO_DEPRECATED_3_0=1"
|
||||
- run: make
|
||||
|
||||
libressl:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user