summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-03-10 08:38:11 +0000
committertb <>2025-03-10 08:38:11 +0000
commitf7f645b21391e5dae35f14fe6722dbf70b09261b (patch)
tree08e34314971d696d23dc104b932159772568ed3e
parentb092f5153557a3783b8d50ed92da58a5a8abe942 (diff)
downloadopenbsd-f7f645b21391e5dae35f14fe6722dbf70b09261b.tar.gz
openbsd-f7f645b21391e5dae35f14fe6722dbf70b09261b.tar.bz2
openbsd-f7f645b21391e5dae35f14fe6722dbf70b09261b.zip
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
-rw-r--r--src/lib/libcrypto/ec/ec.h14
1 files changed, 1 insertions, 13 deletions
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 @@
1/* $OpenBSD: ec.h,v 1.54 2025/03/09 15:42:19 tb Exp $ */ 1/* $OpenBSD: ec.h,v 1.55 2025/03/10 08:38:11 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -78,10 +78,6 @@
78 78
79#ifdef __cplusplus 79#ifdef __cplusplus
80extern "C" { 80extern "C" {
81#elif defined(__SUNPRO_C)
82# if __SUNPRO_C >= 0x520
83# pragma error_messages (off,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
84# endif
85#endif 81#endif
86 82
87#ifndef OPENSSL_ECC_MAX_FIELD_BITS 83#ifndef OPENSSL_ECC_MAX_FIELD_BITS
@@ -371,14 +367,6 @@ void EC_KEY_METHOD_get_verify(const EC_KEY_METHOD *meth,
371 367
372EC_KEY *ECParameters_dup(EC_KEY *key); 368EC_KEY *ECParameters_dup(EC_KEY *key);
373 369
374#ifndef __cplusplus
375#if defined(__SUNPRO_C)
376# if __SUNPRO_C >= 0x520
377# pragma error_messages (default,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
378# endif
379# endif
380#endif
381
382#define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \ 370#define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \
383 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \ 371 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, \
384 EVP_PKEY_OP_PARAMGEN|EVP_PKEY_OP_KEYGEN, \ 372 EVP_PKEY_OP_PARAMGEN|EVP_PKEY_OP_KEYGEN, \