From b7660ea49d688ab236335a3b81cda8740da76932 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 15 Sep 2019 11:43:52 +0100 Subject: [PATCH] librb: Fix nossl --- librb/src/nossl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/librb/src/nossl.c b/librb/src/nossl.c index e3fe60eb..0b427970 100644 --- a/librb/src/nossl.c +++ b/librb/src/nossl.c @@ -174,12 +174,20 @@ rb_get_ssl_info(char *buf __attribute__((unused)), size_t len __attribute__((unu } int -rb_ssl_get_certfp(rb_fde_t *F __attribute__((unused)), uint8_t certfp[RB_SSL_CERTFP_LEN] __attribute__((unused))) +rb_get_ssl_certfp(rb_fde_t *F __attribute__((unused)), uint8_t certfp[RB_SSL_CERTFP_LEN] __attribute__((unused)), const int method __attribute__((unused))) { errno = ENOSYS; return -1; } +int +rb_get_ssl_certfp_file(const char *const filename __attribute__((unused)), uint8_t certfp[const RB_SSL_CERTFP_LEN] __attribute__((unused)), const int method __attribute__((unused))) +{ + errno = ENOSYS; + return -1; +} + + const char * rb_ssl_get_cipher(rb_fde_t *F __attribute__((unused))) {