librb: Fix nossl

This commit is contained in:
Simon Arlott 2019-09-15 12:33:56 +01:00
parent b7660ea49d
commit 400e650809
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -173,21 +173,6 @@ rb_get_ssl_info(char *buf __attribute__((unused)), size_t len __attribute__((unu
snprintf(buf, len, "Not compiled with SSL support"); snprintf(buf, len, "Not compiled with SSL support");
} }
int
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 * const char *
rb_ssl_get_cipher(rb_fde_t *F __attribute__((unused))) rb_ssl_get_cipher(rb_fde_t *F __attribute__((unused)))
{ {