diff options
author | jamercee <jim@carroll.com> | 2016-08-03 11:31:46 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-08-10 11:07:42 -0400 |
commit | b4c1d72e9f4fd47581d2231906b9d45bc003cb3b (patch) | |
tree | ce032f926a87baa023054e04887eb2179b8a87bc /crypto/bio | |
parent | 2301d91dd58d9827865e360d616291f2549ec5bf (diff) |
Adapt BIO_new_accept() to call BIO_set_accept_name()
Commit 417be66 broken BIO_new_accept() by changing the definition of the
macro BIO_set_accept_port() which stopped acpt_ctrl() from calling
BIO_parse_hostserv(). This commit completes the series of changes
initiated in 417be66.
Updated pods to reflect new definition introduced by 417be66.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1386)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bss_acpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c index 628da9e634..6fb971a50d 100644 --- a/crypto/bio/bss_acpt.c +++ b/crypto/bio/bss_acpt.c @@ -548,7 +548,7 @@ BIO *BIO_new_accept(const char *str) ret = BIO_new(BIO_s_accept()); if (ret == NULL) return (NULL); - if (BIO_set_accept_port(ret, str)) + if (BIO_set_accept_name(ret, str)) return (ret); BIO_free(ret); return (NULL); |