diff options
| author | tb <> | 2023-07-28 15:50:33 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 15:50:33 +0000 |
| commit | dee6ca6302cdbd5982c40288832f1fbe51d045d5 (patch) | |
| tree | 919fa2c577092b41cb1ba147c14b98991a0eacca /src/lib/libcrypto/sm2/sm2.h | |
| parent | a65012e9329b7bde2223964c16b2a59e310f44b5 (diff) | |
| download | openbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.tar.gz openbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.tar.bz2 openbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.zip | |
Stop including ecdsa.h and ecdh.h internally
These headers are now reduced to #include <openssl/ec.h> and are provided
for compatiblity only. There's no point in using them. At the same time
garbage collect the last uses of OPENSSL_NO_{ECDSA,ECDH} in our tree.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/sm2/sm2.h')
| -rw-r--r-- | src/lib/libcrypto/sm2/sm2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/sm2/sm2.h b/src/lib/libcrypto/sm2/sm2.h index dee75eb68b..2f14fe666e 100644 --- a/src/lib/libcrypto/sm2/sm2.h +++ b/src/lib/libcrypto/sm2/sm2.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: sm2.h,v 1.2 2022/07/12 14:42:50 kn Exp $ */ | 1 | /* $OpenBSD: sm2.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
| 4 | * | 4 | * |
| @@ -21,7 +21,6 @@ | |||
| 21 | #include <openssl/opensslconf.h> | 21 | #include <openssl/opensslconf.h> |
| 22 | 22 | ||
| 23 | #include <openssl/ec.h> | 23 | #include <openssl/ec.h> |
| 24 | #include <openssl/ecdsa.h> | ||
| 25 | 24 | ||
| 26 | #ifdef OPENSSL_NO_SM2 | 25 | #ifdef OPENSSL_NO_SM2 |
| 27 | #error SM2 is disabled. | 26 | #error SM2 is disabled. |
