Skip to content

Remove dependency on strsignal for HP-UX. - #5658

Closed
paulidale wants to merge 1 commit into
openssl:masterfrom
paulidale:ocsp-hpux
Closed

paulidale wants to merge 1 commit into
openssl:masterfrom
paulidale:ocsp-hpux

Conversation

@paulidale

@paulidale paulidale commented Mar 19, 2018

Copy link
Copy Markdown
Contributor

HP-UX does not support the system call strsignal.
Checked for Itanium HP-UX 11i v3.

The alternative would be to supply our own versions of the two missing calls.

Broken by 3e3c7c3 earlier this month.

@paulidale paulidale added the approval: review pending This pull request needs review by a committer label Mar 19, 2018
@dot-asm

dot-asm commented Mar 19, 2018

Copy link
Copy Markdown
Contributor

AIX people work harder [in #5657]

@paulidale

Copy link
Copy Markdown
Contributor Author

That doesn't help strsignal.
I'll put a work around for that in in the morning.

@dot-asm

dot-asm commented Mar 19, 2018

Copy link
Copy Markdown
Contributor

Well, strsignal appears to be quite recent addition to POSIX, so that one can always argue that it totally should be conditional, as in #ifdef _POSIX_C_SOURCE >= 200809L. Alternatively I wouldn't feel bad if it was simply omitted to avoid the spaghetti...

@paulidale

Copy link
Copy Markdown
Contributor Author

I've changed this so it only conditions out strsignal, the vsyslog is fixed by #5657

@paulidale paulidale reopened this Mar 19, 2018
@paulidale paulidale changed the title Remove ocsp -multi option for HP-UX. Remove dependency on strsignal for HP-UX. Mar 19, 2018
@paulidale

Copy link
Copy Markdown
Contributor Author

I'm not seeing how the test failures could be related...

@mattcaswell mattcaswell added this to the 1.1.1 milestone Mar 20, 2018
@paulidale paulidale added the branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) label Mar 20, 2018
@paulidale

Copy link
Copy Markdown
Contributor Author

A rebuild and the failure disappeared. OMC review?

@richsalz

Copy link
Copy Markdown
Contributor

I would have just always and only printed the signal number (the else condition). Anything else seems not worth it.

The strsignal call is not supported by some machines, so avoid its use.
@paulidale

Copy link
Copy Markdown
Contributor Author

Okay, just printing the signal number now.

@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Mar 21, 2018
levitte pushed a commit that referenced this pull request Mar 21, 2018
The strsignal call is not supported by some machines, so avoid its use.

Reviewed-by: Rich Salz <[email protected]>
(Merged from #5658)
@paulidale

Copy link
Copy Markdown
Contributor Author

Merged, thanks.

@paulidale paulidale closed this Mar 21, 2018
@paulidale
paulidale deleted the ocsp-hpux branch March 21, 2018 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants