Skip to content
Open
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 pq/tls/client-pq-tls13.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <wolfssl/wolfio.h>
#include <wolfssl/wolfcrypt/error-crypt.h>

#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_HAVE_KYBER) && \
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_HAVE_MLKEM) && \
defined(HAVE_DILITHIUM)

#define DEFAULT_PORT 11111
Expand Down
9 changes: 1 addition & 8 deletions pq/tls/server-pq-tls13.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <wolfssl/wolfio.h>
#include <wolfssl/wolfcrypt/error-crypt.h>

#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_HAVE_KYBER) && \
#if defined(WOLFSSL_TLS13) && defined(WOLFSSL_HAVE_MLKEM) && \
defined(HAVE_DILITHIUM)

#define DEFAULT_PORT 11111
Expand Down Expand Up @@ -248,13 +248,6 @@ int main(int argc, char** argv)
ret = -1; goto exit;
}

ret = wolfSSL_UseKeyShare(ssl, WOLFSSL_P521_ML_KEM_1024);
if (ret < 0) {
fprintf(stderr, "ERROR: failed to set the requested group to "
"WOLFSSL_P521_ML_KEM_1024.\n");
ret = -1; goto exit;
}

/* Attach wolfSSL to the socket */
wolfSSL_set_fd(ssl, mConnd);

Expand Down
Loading