Page MenuHomePhabricator

D21502.id51186.diff
No OneTemporary

D21502.id51186.diff

diff --git a/src/future/oauth/PhutilOAuth1Future.php b/src/future/oauth/PhutilOAuth1Future.php
--- a/src/future/oauth/PhutilOAuth1Future.php
+++ b/src/future/oauth/PhutilOAuth1Future.php
@@ -268,7 +268,8 @@
throw new Exception(pht('%s failed!', 'openssl_sign()'));
}
- openssl_free_key($pkey);
+ // Deprecated in PHP 8; key is automatically freed.
+ @openssl_free_key($pkey);
return base64_encode($signature);
case 'PLAINTEXT':

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 3:05 AM (9 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7122059
Default Alt Text
D21502.id51186.diff (490 B)

Event Timeline