librb: Fix nossl

This commit is contained in:
Simon Arlott 2019-09-15 11:43:52 +01:00
parent ce960aa5f0
commit b7660ea49d
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -174,12 +174,20 @@ rb_get_ssl_info(char *buf __attribute__((unused)), size_t len __attribute__((unu
} }
int 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; errno = ENOSYS;
return -1; 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 * const char *
rb_ssl_get_cipher(rb_fde_t *F __attribute__((unused))) rb_ssl_get_cipher(rb_fde_t *F __attribute__((unused)))
{ {