From: Tom Carroll Date: Fri, 24 Apr 2020 06:15:59 +0000 (-0700) Subject: Stub openssl challenge_response functions. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=801b9b2a25dbe7ed278ebbc795f3f16ee0f339eb;p=users%2Fdwmw2%2Fopenconnect.git Stub openssl challenge_response functions. Signed-off-by: Tom Carroll --- diff --git a/openssl.c b/openssl.c index b15f2f6f..f028f89e 100644 --- a/openssl.c +++ b/openssl.c @@ -2139,3 +2139,20 @@ void destroy_eap_ttls(struct openconnect_info *vpninfo, void *ttls) /* Leave the BIO_METH for now. It may get reused and we don't want to * have to call BIO_get_new_index() more times than is necessary */ } + +int cert_auth_challenge_response(struct openconnect_info *vpninfo, + int cert_rq, const char *challenge, char **identity, + struct challenge_response *response) +{ + /* hush not used warnings */ + (void) cert_rq; + (void) challenge; + (void) identity; + (void) response; + + vpn_progress(vpninfo, PRG_ERR, + _("Multiple certificate-based authentication" + " is not implemented for OpenSSL\n")); + + return -ENOSYS; +}