Skip to content

Conversation

xia0pin9
Copy link

@xia0pin9 xia0pin9 commented Sep 1, 2025

This commit introduces platform-aware OpenSSL configuration to resolve iOS build issues while maintaining backward compatibility for all platforms.

Key changes:

  • Add configure_openssl() function for intelligent platform detection
  • Support OQS_USE_OPENSSL environment variable (OFF/ON) for explicit control
  • Add no_openssl feature flag to force disable OpenSSL on any platform
  • Auto-disable OpenSSL for iOS targets with Security.framework linking
  • Enhance CI/CD with iOS cross-compilation testing (x86_64, aarch64)
  • Add comprehensive unit and integration tests
  • Update documentation with platform-specific guidance

Platform behavior:

  • iOS: OpenSSL automatically disabled, uses Security.framework
  • Other platforms: OpenSSL enabled by default (overridable)
  • Environment variable takes precedence over feature flags

This addresses the critical iOS build failures caused by unconditional OpenSSL requirements while enabling embedded systems and compliance use cases that require OpenSSL-free builds.

Ryan and others added 5 commits August 31, 2025 19:55
…d platforms

This commit introduces platform-aware OpenSSL configuration to resolve iOS build
issues while maintaining backward compatibility for all platforms.

Key changes:
- Add configure_openssl() function for intelligent platform detection
- Support OQS_USE_OPENSSL environment variable (OFF/ON) for explicit control
- Add no_openssl feature flag to force disable OpenSSL on any platform
- Auto-disable OpenSSL for iOS targets with Security.framework linking
- Enhance CI/CD with iOS cross-compilation testing (x86_64, aarch64)
- Add comprehensive unit and integration tests
- Update documentation with platform-specific guidance

Platform behavior:
- iOS: OpenSSL automatically disabled, uses Security.framework
- Other platforms: OpenSSL enabled by default (overridable)
- Environment variable takes precedence over feature flags

This addresses the critical iOS build failures caused by unconditional
OpenSSL requirements while enabling embedded systems and compliance use cases
that require OpenSSL-free builds.

🤖 Generated with Claude Code

Co-Authored-By: Claude <[email protected]>
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.

1 participant