libratbox: implement nossl variants of rb_get_ssl_certfp() and rb_get_ssl_cipher()
This commit is contained in:
parent
42dbc23943
commit
7c16cc9085
1 changed files with 14 additions and 0 deletions
|
@ -168,4 +168,18 @@ rb_get_ssl_info(char *buf, size_t len)
|
||||||
rb_snprintf(buf, len, "Not compiled with SSL support");
|
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 */
|
#endif /* !HAVE_OPENSSL */
|
||||||
|
|
Loading…
Reference in a new issue