summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_err.c
diff options
context:
space:
mode:
authorjsing <>2023-04-11 18:58:20 +0000
committerjsing <>2023-04-11 18:58:20 +0000
commit28c1968b342ae3ee2e863c4a47a59d90c3d7da9c (patch)
tree566c48c290ac86140f8df6c959b74661e1d596a7 /src/lib/libcrypto/dsa/dsa_err.c
parentd64e2f3567e88a542a225f4ab620c2851bd7f9e7 (diff)
downloadopenbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.tar.gz
openbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.tar.bz2
openbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.zip
Handle BN_CTX at the EC API boundary.
The EC API allows callers to optionally pass in a BN_CTX, which means that any code needing a BN_CTX has to check if one was provided, allocate one if not, then free it again. Rather than doing this dance throughout the EC code, handle the BN_CTX existance at the EC API boundary. This means that lower level implementation code can simply assume that the BN_CTX is available. ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_err.c')
0 files changed, 0 insertions, 0 deletions