CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/01/12 20:42:36
Modified files:
usr.bin/openssl: prime.c
Log message:
Implement more thorough error checks:
- Check the return value of every relevant function call.
- If BIO_new() returns NULL instead of a valid BIO, do not attempt to
blindly use the NULL value as a BIO throughout the rest of the code.
- Ensure that bio_out is freed by BIO_free_all() at the end of all
error paths.
ok doug@
