summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authortb <>2023-11-07 15:59:29 +0000
committertb <>2023-11-07 15:59:29 +0000
commit2e7c7e380a9fb64d45feb484bc1dcc142c7dd305 (patch)
tree4ee2dc606d70ff0cb3d1f9333e8816be7620414a /src/lib/libssl
parenta708d2161971398e204c82107e26fd3f23f91219 (diff)
downloadopenbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.tar.gz
openbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.tar.bz2
openbsd-2e7c7e380a9fb64d45feb484bc1dcc142c7dd305.zip
Add a helper to set RSASSA-PSS padding parameters
This sets the AlgorithmIdentifier's algorithm to id-RSASSA-PSS with appropriate RSASSA-PSS parameters. This pulls a chunk of code out of rsa_cms_sign() and rewrites it with proper error checking, thereby fixing a long-standing leak. This helper can also be used in rsa_item_sign(), but that part is a bit special, and will therefore be commmitted separately. ok jsing
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions