Bug #63948
closedRsaAuth-PhpBackendTest causes fatal error with broken openssl config
100%
Description
If the openssl environment (on Windows) is not set up correctly (in Install Tool: "PHP OpenSSL extension not working") the unit test RsaAuth-PhpBackendTest fatals
Fatal error: Call to a member function isReady() on a non-object in D:\typo3\master\typo3\sysext\rsaauth\Tests\Unit\Backend\PhpBackendTest.php on line 39
This happens because $this->subject->createNewKeyPair() returns NULL if something goes wrong.
public function createNewKeyPairCreatesReadyKeyPair() { $this->assertTrue( $this->subject->createNewKeyPair()->isReady() ); }
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531
Updated by Stephan Großberndt almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 64692a051a825d8e013584eb1a57a285c848bbfc.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35597
Updated by Stephan Großberndt almost 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1890c86995333e7fa2d521dc7bdcccc4fd419d1b.