summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/buffer/buffer.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-07-10 12:36:58 +0000
committermiod <miod@openbsd.org>2014-07-10 12:36:58 +0000
commite14dda457e385658400a207500810643da22ff97 (patch)
treecc4e51aa72608b55e8fcd782d5648f81c18169e6 /lib/libcrypto/buffer/buffer.c
parentmake asn1 free safe to call with null pointers of any type. (diff)
downloadwireguard-openbsd-e14dda457e385658400a207500810643da22ff97.tar.xz
wireguard-openbsd-e14dda457e385658400a207500810643da22ff97.zip
RSA_setup_blinding() gets a BN with BN_CTX_get(), returns `out of memory'
if it fails, then never uses it anymore, and may invoke a function which needs more than one BN from the BN_CTX anyway, so this is pointless - remove the BN_CTX_get() call and the test. ok jsing
Diffstat (limited to 'lib/libcrypto/buffer/buffer.c')
0 files changed, 0 insertions, 0 deletions