Skip to content

Dtls multi core#414

Merged
toddouska merged 7 commits into
wolfSSL:masterfrom
JacobBarthelmeh:DTLS-MultiCore
May 18, 2016
Merged

Dtls multi core#414
toddouska merged 7 commits into
wolfSSL:masterfrom
JacobBarthelmeh:DTLS-MultiCore

Conversation

@JacobBarthelmeh

Copy link
Copy Markdown
Contributor

Adds the option to use --enable-sessionexport with DTLS and send a session after completing change cipher spec in handshake.

@JacobBarthelmeh JacobBarthelmeh self-assigned this May 10, 2016
@JacobBarthelmeh

Copy link
Copy Markdown
Contributor Author

Made the changes talked about in code review.

@toddouska

Copy link
Copy Markdown
Contributor

On Mac I get some unused function errors on basic ./configure and ./configure --enable-dtls

src/internal.c:361:20: error: unused function 'c64toa'
[-Werror,-Wunused-function]
static INLINE void c64toa(word64 u64, byte* c)
^
src/internal.c:399:20: error: unused function 'ato64'
[-Werror,-Wunused-function]
static INLINE void ato64(const byte* c, word64* u64)

Comment thread wolfssl/ssl.h Outdated
WOLFSSL_API int wolfSSL_CTX_dtls_set_export(WOLFSSL_CTX* ctx,
wc_dtls_export func);
WOLFSSL_API int wolfSSL_dtls_set_export(WOLFSSL* ssl, wc_dtls_export func);
WOLFSSL_API int wolfSSL_dtls_export(unsigned char* buf, unsigned int* sz,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think having WOLFSSL parameter first is more consistent.

@JacobBarthelmeh

Copy link
Copy Markdown
Contributor Author

Thanks for the review of the code Todd. Will fix the unused functions, it slipped by from using GCC during development.

@toddouska

Copy link
Copy Markdown
Contributor

Thanks for the changes, looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants