diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c8b6896..ca5d581 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: - u64_backend - u32_backend toolchain: - - nightly + - stable - 1.41.0 name: test steps: @@ -79,7 +79,7 @@ jobs: fail-fast: false matrix: toolchain: - - nightly + - stable - 1.41.0 name: test simple_login command-line example steps: @@ -103,7 +103,7 @@ jobs: fail-fast: false matrix: toolchain: - - nightly + - stable - 1.41.0 name: test digital_locker command-line example steps: @@ -148,11 +148,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy @@ -170,11 +170,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy diff --git a/src/messages.rs b/src/messages.rs index d49bd29..a820818 100644 --- a/src/messages.rs +++ b/src/messages.rs @@ -104,8 +104,8 @@ impl RegistrationResponse { KeyPair::::check_public_key(Key::from_bytes(&checked_slice[elem_len..])?)?; Ok(Self { - server_s_pk: server_s_pk.to_arr().to_vec(), beta, + server_s_pk: server_s_pk.to_arr().to_vec(), }) } }