diff options
author | tb <> | 2022-06-30 11:14:47 +0000 |
---|---|---|
committer | tb <> | 2022-06-30 11:14:47 +0000 |
commit | 727d040aad78fde5a0f1d575255736d37d0c721c (patch) | |
tree | 9d33f37718333e8e9e8f5ec14186695caf8ef529 | |
parent | a707633f86eb12772b7456b15ec5b8a8bca018c9 (diff) | |
download | openbsd-727d040aad78fde5a0f1d575255736d37d0c721c.tar.gz openbsd-727d040aad78fde5a0f1d575255736d37d0c721c.tar.bz2 openbsd-727d040aad78fde5a0f1d575255736d37d0c721c.zip |
Replace obj_mac.h with object.h
Pointed out by and ok jsing
-rw-r--r-- | src/lib/libcrypto/ct/ct_sct_ctx.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/ec/ec_curve.c | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/ec/ec_lcl.h | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/ec/ecp_nist.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_key.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_ossl.c | 6 |
6 files changed, 17 insertions, 15 deletions
diff --git a/src/lib/libcrypto/ct/ct_sct_ctx.c b/src/lib/libcrypto/ct/ct_sct_ctx.c index 1863058ded..b2b6d4e269 100644 --- a/src/lib/libcrypto/ct/ct_sct_ctx.c +++ b/src/lib/libcrypto/ct/ct_sct_ctx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ct_sct_ctx.c,v 1.5 2021/12/18 16:34:52 tb Exp $ */ | 1 | /* $OpenBSD: ct_sct_ctx.c,v 1.6 2022/06/30 11:14:47 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Rob Stradling (rob@comodo.com) and Stephen Henson | 3 | * Written by Rob Stradling (rob@comodo.com) and Stephen Henson |
4 | * (steve@openssl.org) for the OpenSSL project 2014. | 4 | * (steve@openssl.org) for the OpenSSL project 2014. |
@@ -65,7 +65,7 @@ | |||
65 | #include <string.h> | 65 | #include <string.h> |
66 | 66 | ||
67 | #include <openssl/err.h> | 67 | #include <openssl/err.h> |
68 | #include <openssl/obj_mac.h> | 68 | #include <openssl/objects.h> |
69 | #include <openssl/x509.h> | 69 | #include <openssl/x509.h> |
70 | 70 | ||
71 | #include "ct_local.h" | 71 | #include "ct_local.h" |
diff --git a/src/lib/libcrypto/ec/ec_curve.c b/src/lib/libcrypto/ec/ec_curve.c index b575f7bac2..09f8cfe9d8 100644 --- a/src/lib/libcrypto/ec/ec_curve.c +++ b/src/lib/libcrypto/ec/ec_curve.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_curve.c,v 1.21 2021/04/20 17:16:37 tb Exp $ */ | 1 | /* $OpenBSD: ec_curve.c,v 1.22 2022/06/30 11:14:47 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -73,9 +73,10 @@ | |||
73 | 73 | ||
74 | #include <openssl/opensslconf.h> | 74 | #include <openssl/opensslconf.h> |
75 | 75 | ||
76 | #include "ec_lcl.h" | ||
77 | #include <openssl/err.h> | 76 | #include <openssl/err.h> |
78 | #include <openssl/obj_mac.h> | 77 | #include <openssl/objects.h> |
78 | |||
79 | #include "ec_lcl.h" | ||
79 | 80 | ||
80 | typedef struct { | 81 | typedef struct { |
81 | int field_type, /* either NID_X9_62_prime_field or | 82 | int field_type, /* either NID_X9_62_prime_field or |
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_lcl.h index 7a7469968c..f0a5618be2 100644 --- a/src/lib/libcrypto/ec/ec_lcl.h +++ b/src/lib/libcrypto/ec/ec_lcl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_lcl.h,v 1.19 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ec_lcl.h,v 1.20 2022/06/30 11:14:47 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 | */ |
@@ -71,10 +71,10 @@ | |||
71 | 71 | ||
72 | #include <stdlib.h> | 72 | #include <stdlib.h> |
73 | 73 | ||
74 | #include <openssl/obj_mac.h> | 74 | #include <openssl/bn.h> |
75 | #include <openssl/ec.h> | 75 | #include <openssl/ec.h> |
76 | #include <openssl/ecdsa.h> | 76 | #include <openssl/ecdsa.h> |
77 | #include <openssl/bn.h> | 77 | #include <openssl/objects.h> |
78 | 78 | ||
79 | #include "bn_lcl.h" | 79 | #include "bn_lcl.h" |
80 | 80 | ||
diff --git a/src/lib/libcrypto/ec/ecp_nist.c b/src/lib/libcrypto/ec/ecp_nist.c index f7dae16e47..b3cea0c4c0 100644 --- a/src/lib/libcrypto/ec/ecp_nist.c +++ b/src/lib/libcrypto/ec/ecp_nist.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nist.c,v 1.18 2021/09/08 17:29:21 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nist.c,v 1.19 2022/06/30 11:14:47 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -64,7 +64,8 @@ | |||
64 | #include <limits.h> | 64 | #include <limits.h> |
65 | 65 | ||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/obj_mac.h> | 67 | #include <openssl/objects.h> |
68 | |||
68 | #include "ec_lcl.h" | 69 | #include "ec_lcl.h" |
69 | 70 | ||
70 | const EC_METHOD * | 71 | const EC_METHOD * |
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c index 797cb01891..ee78905848 100644 --- a/src/lib/libcrypto/ecdh/ech_key.c +++ b/src/lib/libcrypto/ecdh/ech_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_key.c,v 1.12 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ech_key.c,v 1.13 2022/06/30 11:14:47 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -74,7 +74,7 @@ | |||
74 | 74 | ||
75 | #include <openssl/bn.h> | 75 | #include <openssl/bn.h> |
76 | #include <openssl/err.h> | 76 | #include <openssl/err.h> |
77 | #include <openssl/obj_mac.h> | 77 | #include <openssl/objects.h> |
78 | #include <openssl/sha.h> | 78 | #include <openssl/sha.h> |
79 | 79 | ||
80 | #include "bn_lcl.h" | 80 | #include "bn_lcl.h" |
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c index 0203b01bb5..48ef131217 100644 --- a/src/lib/libcrypto/ecdsa/ecs_ossl.c +++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_ossl.c,v 1.24 2022/04/07 17:37:25 tb Exp $ */ | 1 | /* $OpenBSD: ecs_ossl.c,v 1.25 2022/06/30 11:14:47 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -60,9 +60,9 @@ | |||
60 | 60 | ||
61 | #include <openssl/opensslconf.h> | 61 | #include <openssl/opensslconf.h> |
62 | 62 | ||
63 | #include <openssl/err.h> | ||
64 | #include <openssl/obj_mac.h> | ||
65 | #include <openssl/bn.h> | 63 | #include <openssl/bn.h> |
64 | #include <openssl/err.h> | ||
65 | #include <openssl/objects.h> | ||
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_lcl.h" |
68 | #include "ecs_locl.h" | 68 | #include "ecs_locl.h" |