8000 tls: fix some doxygen warnings by alfredh · Pull Request #894 · baresip/re · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tls: fix some doxygen warnings #894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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