diff --git a/libratbox/src/nossl.c b/libratbox/src/nossl.c index 2133800f6..91bdf8b08 100644 --- a/libratbox/src/nossl.c +++ b/libratbox/src/nossl.c @@ -168,4 +168,18 @@ rb_get_ssl_info(char *buf, size_t len) rb_snprintf(buf, len, "Not compiled with SSL support"); } +int +rb_ssl_get_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN]) +{ + errno = ENOSYS; + return -1; +} + +const char * +rb_ssl_get_cipher(rb_fde_t *F) +{ + errno = ENOSYS; + return NULL; +} + #endif /* !HAVE_OPENSSL */