libratbox: implement nossl variants of rb_get_ssl_certfp() and rb_get_ssl_cipher()

This commit is contained in:
William Pitcock 2015-12-11 08:36:21 -06:00
parent 42dbc23943
commit 7c16cc9085

View file

@ -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 */