Skip to content

Conversation

@pkittenis
Copy link
Contributor

Master branch cmake compile currently failing with

src/crypt.c:57:5: error: expected ‘}’ before numeric constant
     8,                     /* blocksize (SSH2 defines minimum blocksize as 8) */
     ^

Copy link
Member

@willco007 willco007 left a comment

Choose a reason for hiding this comment

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

Good catch; note this will only fail if you have LIBSSH2_CRYPT_NONE enabled. If I'm not mistaken, if you try and actually use no cipher it will crash when trying to call init/dtor on NULL pointers. I have a fix on my branch for that which I should push.

@willco007 willco007 merged commit 616fd4d into libssh2:master Oct 20, 2017
@pkittenis pkittenis deleted the crypt_fix branch October 21, 2017 21:34
@pkittenis
Copy link
Contributor Author

pkittenis commented Oct 21, 2017

That would explain why this was not seen in my autoconf builds then - I had enabled crypt none in cmake only. Thanks for the heads up also 👍

kbulgrien pushed a commit to kbulgrien/libssh2-1.2.4-sco3.2v5.0.7 that referenced this pull request Dec 14, 2018
alex-weaver pushed a commit to alex-weaver/libssh2 that referenced this pull request Mar 23, 2023
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