Skip to content

Commit

Permalink
tls: fix some doxygen warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Aug 9, 2023
1 parent c50a731 commit 70861b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/re_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ bool tls_get_session_reuse(const struct tls_conn *tc);
int tls_reuse_session(const struct tls_conn *tc);
bool tls_session_reused(const struct tls_conn *tc);
int tls_update_sessions(const struct tls_conn *tc);
void tls_set_posthandshake_auth(struct tls *tls, int enabled);
void tls_set_posthandshake_auth(struct tls *tls, int value);

/* TCP */

Expand Down
8 changes: 4 additions & 4 deletions src/tls/stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ int tls_set_certificate_der(struct tls *tls, enum tls_keytype keytype,
}


int tls_set_certificate(struct tls *tls, const char *cert, size_t len)
int tls_set_certificate(struct tls *tls, const char *pem, size_t len)
{
(void)tls;
(void)cert;
(void)pem;
(void)len;
return ENOSYS;
}
Expand Down Expand Up @@ -298,10 +298,10 @@ int tls_update_sessions(const struct tls_conn *tc)
}


void tls_set_posthandshake_auth(struct tls *tls, int enabled)
void tls_set_posthandshake_auth(struct tls *tls, int value)
{
(void)tls;
(void)enabled;
(void)value;
}


Expand Down

0 comments on commit 70861b3

Please sign in to comment.