Check the return value of the UI functions (including UI_new() which return
authormiod <miod@openbsd.org>
Wed, 23 Jul 2014 04:44:56 +0000 (04:44 +0000)
committermiod <miod@openbsd.org>
Wed, 23 Jul 2014 04:44:56 +0000 (04:44 +0000)
commitc40ede0917953bfe57ee31c5d160eb82d3810e7d
tree43031d30b6f6b4d533ccb00b8d5b2ae56443c2f2
parentae748dc136de40d995c4b9ad2352287c442a8798
Check the return value of the UI functions (including UI_new() which return
value is happily dereferenced without checking it for being non-NULL).

ok beck@
lib/libcrypto/evp/evp_key.c
lib/libssl/src/crypto/evp/evp_key.c