From f7f645b21391e5dae35f14fe6722dbf70b09261b Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 10 Mar 2025 08:38:11 +0000 Subject: ec.h: remove last SunPro pragmas With the removal of the EC_POINTs_* API, this header features no arrays anymore, so this noise can go away. ok miod --- src/lib/libcrypto/ec/ec.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index ebee120154..5438dd8013 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ec.h,v 1.54 2025/03/09 15:42:19 tb Exp $ */ +/* $OpenBSD: ec.h,v 1.55 2025/03/10 08:38:11 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -78,10 +78,6 @@ #ifdef __cplusplus extern "C" { -#elif defined(__SUNPRO_C) -# if __SUNPRO_C >= 0x520 -# pragma error_messages (off,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE) -# endif #endif #ifndef OPENSSL_ECC_MAX_FIELD_BITS @@ -371,14 +367,6 @@ void EC_KEY_METHOD_get_verify(const EC_KEY_METHOD *meth, EC_KEY *ECParameters_dup(EC_KEY *key); -#ifndef __cplusplus -#if defined(__SUNPRO_C) -# if __SUNPRO_C >= 0x520 -# pragma error_messages (default,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE) -# endif -# endif -#endif - #define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \ EVP_PKEY_OP_PARAMGEN|EVP_PKEY_OP_KEYGEN, \ -- cgit v1.2.3-55-g6feb