Commit bf14319c authored by David Woodhouse's avatar David Woodhouse

Move OpenSSL-specific functions from ssl.c to openssl.c

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 197628fa
......@@ -280,6 +280,9 @@ int cstp_bye(struct openconnect_info *vpninfo, const char *reason);
int cstp_reconnect(struct openconnect_info *vpninfo);
/* ssl.c */
int connect_https_socket(struct openconnect_info *vpninfo);
/* ${SSL_LIBRARY}.c */
int __attribute__ ((format (printf, 2, 3)))
openconnect_SSL_printf(struct openconnect_info *vpninfo, const char *fmt, ...);
int openconnect_SSL_gets(struct openconnect_info *vpninfo, char *buf, size_t len);
......@@ -289,9 +292,8 @@ int openconnect_open_https(struct openconnect_info *vpninfo);
void openconnect_close_https(struct openconnect_info *vpninfo);
int get_cert_md5_fingerprint(struct openconnect_info *vpninfo, X509 *cert,
char *buf);
/* This one is actually OpenSSL-specific */
void openconnect_report_ssl_errors(struct openconnect_info *vpninfo);
/* ${SSL_LIBRARY}.c */
int openconnect_sha1(unsigned char *result, void *data, int len);
int openconnect_random(void *bytes, int len);
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment