summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/rpki/ssh_transport.c2
-rw-r--r--proto/rpki/tcp_transport.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/proto/rpki/ssh_transport.c b/proto/rpki/ssh_transport.c
index cd49ab90..13e061fc 100644
--- a/proto/rpki/ssh_transport.c
+++ b/proto/rpki/ssh_transport.c
@@ -42,8 +42,6 @@ rpki_tr_ssh_open(struct rpki_tr_sock *tr)
static const char *
rpki_tr_ssh_ident(struct rpki_tr_sock *tr)
{
- ASSERT(tr != NULL);
-
struct rpki_cache *cache = tr->cache;
struct rpki_config *cf = (void *) cache->p->p.cf;
struct rpki_tr_ssh_config *ssh_cf = (void *) cf->tr_config.spec;
diff --git a/proto/rpki/tcp_transport.c b/proto/rpki/tcp_transport.c
index 6c05964a..0d3c7e99 100644
--- a/proto/rpki/tcp_transport.c
+++ b/proto/rpki/tcp_transport.c
@@ -37,8 +37,6 @@ rpki_tr_tcp_open(struct rpki_tr_sock *tr)
static const char *
rpki_tr_tcp_ident(struct rpki_tr_sock *tr)
{
- ASSERT(tr != NULL);
-
struct rpki_cache *cache = tr->cache;
struct rpki_config *cf = (void *) cache->p->p.cf;