Skip to content

Remove bad openssl/asn1.h include#2390

Open
yadij wants to merge 1 commit intosquid-cache:masterfrom
yadij:openssl-v4-support-3
Open

Remove bad openssl/asn1.h include#2390
yadij wants to merge 1 commit intosquid-cache:masterfrom
yadij:openssl-v4-support-3

Conversation

@yadij
Copy link
Contributor

@yadij yadij commented Mar 15, 2026

This header needs to be included through
compat/openssl.h for portability fixes.

This header needs to be included through
compat.openssl.h for portability fixes.
@yadij yadij added M-cleared-for-merge https://github.com/measurement-factory/anubis#pull-request-labels S-could-use-an-approval An approval may speed this PR merger (but is not required) labels Mar 15, 2026
@rousskov rousskov self-requested a review March 15, 2026 14:05
Copy link
Contributor

@rousskov rousskov left a comment

Choose a reason for hiding this comment

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

This header needs to be included through compat/openssl.h for portability fixes.

AFAICT, there are at least three more headers that are being included directly even though compat/openssl.h provides the corresponding "portability fixes". Please fix all of the violations. Here is the list of all such headers that I could find:

  • openssl/asn1.h
  • openssl/bio.h
  • openssl/ssl.h
  • openssl/x509.h

@rousskov rousskov added S-waiting-for-author author action is expected (and usually required) and removed M-cleared-for-merge https://github.com/measurement-factory/anubis#pull-request-labels S-could-use-an-approval An approval may speed this PR merger (but is not required) labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-for-author author action is expected (and usually required)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants