summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_lib.c
diff options
context:
space:
mode:
authortb <>2024-01-25 09:40:09 +0000
committertb <>2024-01-25 09:40:09 +0000
commit1e23fad74b3de18aa9de49072058f6a6edc07709 (patch)
treeada68b77d53ac3d554e92e0ae3d98066fbce5dbd /src/lib/libcrypto/x509/x509_lib.c
parent5dba131564255a41a05639bf13a29f3e45bda18a (diff)
downloadopenbsd-1e23fad74b3de18aa9de49072058f6a6edc07709.tar.gz
openbsd-1e23fad74b3de18aa9de49072058f6a6edc07709.tar.bz2
openbsd-1e23fad74b3de18aa9de49072058f6a6edc07709.zip
newpass_p12(): factor for loop body into helpers
Since newpass_bags() and sk_PKCS7_push() could be shared between two otherwise entirely unrelated code paths, it was decided to dedup the code in about the ugliest possible way. Untangle the spaghetti and split the code paths into helper functions, so we can easily error check and avoid a bunch of leaks. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_lib.c')
0 files changed, 0 insertions, 0 deletions