add ssl_has_cert
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Feb 2017 15:40:21 +0000 (15:40 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 15 Feb 2017 02:23:54 +0000 (02:23 +0000)
commit4020c0b33b25f829ca68976970d44227d115eb9e
treed8a100d98157c6e906e0ea216322a35f884a6c68
parent7e12cdb52e3f4beff050caeecf3634870bb9a7c4
add ssl_has_cert

Add inline function ssl_has_cert which checks to see if a certificate and
private key for a given index are not NULL.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2623)
ssl/ssl_lib.c
ssl/ssl_locl.h