diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-11-08 20:09:18 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-11-08 20:09:18 +0000 |
commit | 84baa75c6caaecee8459e1dc00977c7e2d99f967 (patch) | |
tree | af35fd60a6ef05513e65365b8471ab06c649dbdf /src/sbearssl | |
parent | d08be2d1abb00110c5e10660df7f662b07c96938 (diff) | |
download | s6-networking-84baa75c6caaecee8459e1dc00977c7e2d99f967.tar.xz |
No need for twice the workaround ^^'
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/sbearssl')
-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 ; |