Skip to content

Fix OPENSSL_RAW_DATA description for encrypt/decrypt#5268

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/openssl-raw-data-description
Open

Fix OPENSSL_RAW_DATA description for encrypt/decrypt#5268
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/openssl-raw-data-description

Conversation

@lacatoire
Copy link
Contributor

Summary

  • Fix incorrect OPENSSL_RAW_DATA constant description
  • Clarify behavior per function: controls output encoding for openssl_encrypt(), controls
    input interpretation for openssl_decrypt()
  • Also fix openssl_decrypt() options from "can be one of" to "bitwise disjunction" (they are
    flags, not exclusive values)

Fixes #3826

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.

Description of OPENSSL_RAW_DATA is wrong

1 participant