parent
93b2f1ee7d
commit
e5fe4f20b7
18 changed files with 29 additions and 28 deletions
|
@ -292,6 +292,7 @@ class Signature {
|
||||||
if ( is_array( $headers['digest'] ) ) {
|
if ( is_array( $headers['digest'] ) ) {
|
||||||
$headers['digest'] = $headers['digest'][0];
|
$headers['digest'] = $headers['digest'][0];
|
||||||
}
|
}
|
||||||
|
$hashalg = 'sha256';
|
||||||
$digest = explode( '=', $headers['digest'], 2 );
|
$digest = explode( '=', $headers['digest'], 2 );
|
||||||
if ( 'SHA-256' === $digest[0] ) {
|
if ( 'SHA-256' === $digest[0] ) {
|
||||||
$hashalg = 'sha256';
|
$hashalg = 'sha256';
|
||||||
|
|
Loading…
Reference in a new issue