Skip to content

Commit

Permalink
Add version constants to polyfill, see #81
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Nov 29, 2018
1 parent 31c2926 commit c499029
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/php72compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
'CRYPTO_SIGN_KEYPAIRBYTES',
'CRYPTO_STREAM_KEYBYTES',
'CRYPTO_STREAM_NONCEBYTES',
'LIBRARY_VERSION_MAJOR',
'LIBRARY_VERSION_MINOR',
'VERSION_STRING'
) as $constant
) {
if (!defined("SODIUM_$constant")) {
Expand Down

0 comments on commit c499029

Please sign in to comment.