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

Compile against openssl 1.1+ and with gcc-8 #71

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Compile against openssl 1.1+ and with gcc-8 #71

merged 2 commits into from
Aug 9, 2023

Conversation

sebastianas
Copy link
Contributor

First patch gets it compiled with gcc-8.
Second patch is updated patch initially made by FauxFaux. I addressed my own review by checking for possible NULL pointer and dropping the locking which is obsolete in openssl 1.1.

sebastianas and others added 2 commits February 22, 2019 23:57
gcc-8 creates this:
|ipseckey.c: In function 'ipseckey_human':
|ipseckey.c:114:35: error: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1010 and 1016 [-Werror=format-truncation=]

Avoid the warning by limiting the length of the string.

BTS: https://bugs.debian.org/897882
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
[bigeasy:  drop locking, check for OOM during allocation.]
BTS: https://bugs.debian.org/859784
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
@SvenVD-be
Copy link

Is there any update on this I fail to build this on RHEL 8 (#76) and I believe I am encountering this issue

@tobez tobez merged commit 766816b into tobez:master Aug 9, 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.

4 participants