diff options
author | tb <> | 2023-08-08 13:59:04 +0000 |
---|---|---|
committer | tb <> | 2023-08-08 13:59:04 +0000 |
commit | aa236454370f4590ecc9b0b63b45ee85472147c3 (patch) | |
tree | ce74387dc64e380226cba28bf0c6d521d287c673 /src/lib/libcrypto/dsa/dsa_meth.c | |
parent | 0bdaf3daedd5dff6d199a2e3f97a6e8e718bc0fc (diff) | |
download | openbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.tar.gz openbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.tar.bz2 openbsd-aa236454370f4590ecc9b0b63b45ee85472147c3.zip |
Make BN_BLINDING respect some invariants
Pass e and mod into BN_BLINDING_new() for now and unconditionally allocate
A and Ai. This way non-NULL blindings always have these four members set.
This allows removing several unnecessary checks in the update, convert and
parameter creation code paths.
Fix exit BN_BLINDING_create_param() so as to signal errors to the caller
if a non-NULL blinding was passed. This fixes a long standing bug.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_meth.c')
0 files changed, 0 insertions, 0 deletions