Deal with the unlikely event that EVP_MD_CTX_size() returns an error.

(Coverity ID 140).
This commit is contained in:
Ben Laurie
2008-12-27 02:09:24 +00:00
parent 6ba71a7173
commit 9b9cb004f7
3 changed files with 8 additions and 0 deletions

View File

@@ -1996,6 +1996,7 @@ void ERR_load_SSL_strings(void);
#define SSL_R_BAD_HELLO_REQUEST 105
#define SSL_R_BAD_LENGTH 271
#define SSL_R_BAD_MAC_DECODE 113
#define SSL_R_BAD_MAC_LENGTH 333
#define SSL_R_BAD_MESSAGE_TYPE 114
#define SSL_R_BAD_PACKET_LENGTH 115
#define SSL_R_BAD_PROTOCOL_VERSION_NUMBER 116