Rearrange the use of 'proto' in BIO_lookup
authorRichard Levitte <levitte@openssl.org>
Wed, 30 Mar 2016 16:18:24 +0000 (18:18 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 30 Mar 2016 16:45:33 +0000 (18:45 +0200)
commit622c7e99a9e9c4632b483895cf2dc5edaa2e52bd
treeaa8c8d371795e3fa7bb8a486378ea31ec6ffb454
parent3eefcea116b8143e99fbd9681ef8e364113c2d23
Rearrange the use of 'proto' in BIO_lookup

'proto' wasn't properly used as a fallback in all appropriate cases.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/b_addr.c