Page MenuHomePhabricator

D21502.diff
No OneTemporary

D21502.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
Sun, Mar 16, 4:15 AM (4 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7229244
Default Alt Text
D21502.diff (490 B)

Event Timeline