Skip to content

Commit

Permalink
Fix previous commit: add missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Aug 17, 2018
1 parent 7f2bd84 commit dada56d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/liblsquic/lsquic_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,11 @@ lsquic_conn_quic_version (const lsquic_conn_t *lconn)
}


struct stack_st_X509 *
lsquic_conn_get_server_cert_chain (struct lsquic_conn *lconn)
{
if (lconn->cn_enc_session)
return lconn->cn_esf->esf_get_server_cert_chain(lconn->cn_enc_session);
else
return NULL;
}

0 comments on commit dada56d

Please sign in to comment.