Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Native EC Key Generator and AES GCM dependency updated #151

Merged
merged 6 commits into from
Nov 22, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bug fixed
  • Loading branch information
Florent Morselli committed Nov 22, 2016
commit 473a4b02f2e18934e4c56dcc3104baa5cdfc8b8f
2 changes: 1 addition & 1 deletion src/Factory/JWKFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static function createECKey(array $values)
if (function_exists('openssl_get_curve_names')) {
$curve_name = self::getOpensslName($curve);
$args = [
'ec_group_name' => $curve_name,
'curve_name' => $curve_name,
'private_key_type' => OPENSSL_KEYTYPE_EC,
];
$key = openssl_pkey_new($args);
Expand Down