mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Promote ext-sodium from recommended to required so RFC 9421 Ed25519 signing/verifying can rely on libsodium unconditionally. Add the matching openssl + sodium psalm stubs. Signed-off-by: Micke Nordin <kano@sunet.se>
12 lines
348 B
PHP
12 lines
348 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
// ext-openssl padding mode constants for psalm. PSS omitted: PHP 8.5+ only.
|
|
const OPENSSL_PKCS1_PADDING = 1;
|
|
const OPENSSL_SSLV23_PADDING = 2;
|
|
const OPENSSL_NO_PADDING = 3;
|
|
const OPENSSL_PKCS1_OAEP_PADDING = 4;
|