Skip to content
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

add ssl engine function #1512

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

guoyibiao0007
Copy link

hi, it's me, Im shawshank119. this is my another account, i want to PR the ssl engine function again.

i have fixd the #1247 comments.

My local VSCode shows that the code is aligned, but it is not aligned after submission. what can i do? or you can merge it first?

@guoyibiao0007
Copy link
Author

is anyone here? why the test is always failed, i don't think it's matter with my code. who can help me. 3ks.

@@ -1076,6 +1076,7 @@ typedef struct
* 2 means no ssl_error_context, ssl_error_cb
* 3 means no ssl_psk_cb, ssl_psk_context, disableDefaultTrustStore
* 4 means no protos, protos_len
* 5 means no ssl engine
Copy link
Contributor

Choose a reason for hiding this comment

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

code format wrong. use TABs


/** If not included in the sslKeyStore, this setting points to the file in PEM format containing
* the client's private key.
*/
const char* privateKey;
const char* privateKey;
Copy link
Contributor

Choose a reason for hiding this comment

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

code format wrong. use TABs


/** The password to load the client's privateKey if encrypted. */
const char* privateKeyPassword;
const char* privateKeyPassword;
Copy link
Contributor

Choose a reason for hiding this comment

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

code format wrong. use TABs

const char* privateKeyPassword;

/** Key mode Only used if struct_version is >= 6.*/
enum MqttSslKeyType keyType;
Copy link
Contributor

Choose a reason for hiding this comment

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

code format wrong. use TABs

enum MqttSslKeyType keyType;

/** engineId for SSL Only used if struct_version is >= 6.*/
const char* engineId;
Copy link
Contributor

Choose a reason for hiding this comment

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

code format wrong. use TABs

@jumoog
Copy link
Contributor

jumoog commented Aug 15, 2024

My local VSCode shows that the code is aligned, but it is not aligned after submission. what can i do? or you can merge it first?

You use space but this project uses TABs

@guoyibiao0007
Copy link
Author

guoyibiao0007 commented Aug 15, 2024 via email

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