summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_ossl.c
diff options
context:
space:
mode:
authorjsing <>2018-06-14 17:14:12 +0000
committerjsing <>2018-06-14 17:14:12 +0000
commit621b83e1f38529468073224266e98966e7f6eedb (patch)
tree935d43e6234c1286ace54aa96d3c1845135a1904 /src/lib/libcrypto/ecdsa/ecs_ossl.c
parentc335f8aac70381d5d5a390e8bef2c8a53544f083 (diff)
downloadopenbsd-621b83e1f38529468073224266e98966e7f6eedb.tar.gz
openbsd-621b83e1f38529468073224266e98966e7f6eedb.tar.bz2
openbsd-621b83e1f38529468073224266e98966e7f6eedb.zip
Fix a potential leak/incorrect return value in DSA signature generation.
In the very unlikely case where we have to repeat the signature generation, the DSA_SIG return value has already been allocated. This will either result in a leak when we allocate again on the next iteration, or it will give a false success (with missing signature values) if any error occurs on the next iteration. ok tb@
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_ossl.c')
0 files changed, 0 insertions, 0 deletions