diff options
author | Matt Caswell <matt@openssl.org> | 2017-04-24 11:46:09 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-04-25 11:13:39 +0100 |
commit | e829142846467b4815d96fe9198e73d5e4d9bbf1 (patch) | |
tree | 48dfc25add2059847ccb04c721eeefa4dbe11503 /crypto/bio | |
parent | c90da922ddaa3b470f4c1c11d02f370589a31912 (diff) |
Document BIO_lookup_ex()
We also change the enum type to an int.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3286)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_addr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index 141f1a9ee9..82c220a2f2 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -638,8 +638,7 @@ int BIO_lookup(const char *host, const char *service, * * The return value is 1 on success or 0 in case of error. */ -int BIO_lookup_ex(const char *host, const char *service, - enum BIO_lookup_type lookup_type, +int BIO_lookup_ex(const char *host, const char *service, int lookup_type, int family, int socktype, int protocol, BIO_ADDRINFO **res) { int ret = 0; /* Assume failure */ |