diff options
-rw-r--r-- | src/sbearssl/sbearssl_sni_policy_vtable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_sni_policy_vtable.c b/src/sbearssl/sbearssl_sni_policy_vtable.c index 973dab7..0f3de6e 100644 --- a/src/sbearssl/sbearssl_sni_policy_vtable.c +++ b/src/sbearssl/sbearssl_sni_policy_vtable.c @@ -146,7 +146,6 @@ static inline size_t sign_rsa (sbearssl_sni_policy_context *pol, unsigned int al size_t sig_len ; unsigned char hv[64] ; memcpy(hv, data, hv_len) ; - algo_id &= 0xff ; if (algo_id >= 2 && algo_id <= 6) hash_oid = HASH_OID[algo_id - 2] ; else if (algo_id) return 0 ; sig_len = (pol->skey.data.rsa.n_bitlen + 7) >> 3 ; |