Merge pull request #5296 from paul-elliott-arm/test_suite_ssl_returns

Add checked returns to common functions in SSL tests without them.