diff options
author | Matt Caswell <matt@openssl.org> | 2017-07-03 11:47:10 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-21 08:44:44 +0100 |
commit | 638c2dd0ab504e22af08e4d56b43959a8be2382e (patch) | |
tree | 4a5a32a09b319fac504bebba4cbf56d40f144e23 /crypto/bio | |
parent | 42d7d7dd6a9ea5d610856b7ccec1767ba93ed30c (diff) |
Updates following feedback on OPENSSL_assert() removal
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3740)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_addr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index d3b758fc7a..d0b2428450 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -566,9 +566,6 @@ static int addrinfo_wrap(int family, int socktype, unsigned short port, BIO_ADDRINFO **bai) { - if (bai == NULL) - return 0; - *bai = OPENSSL_zalloc(sizeof(**bai)); if (*bai == NULL) return 0; |