diff options
author | op <> | 2023-06-18 11:43:03 +0000 |
---|---|---|
committer | op <> | 2023-06-18 11:43:03 +0000 |
commit | 727678bac9040805562e79cfeca4ee4b953bd557 (patch) | |
tree | cc3e371985ef9f03635d4ad74f97569e0f8bd591 /src/lib/libtls/tls_internal.h | |
parent | 2810e2ca8ccbcc1d5ea8e11a8475a66e01d25b73 (diff) | |
download | openbsd-727678bac9040805562e79cfeca4ee4b953bd557.tar.gz openbsd-727678bac9040805562e79cfeca4ee4b953bd557.tar.bz2 openbsd-727678bac9040805562e79cfeca4ee4b953bd557.zip |
libtls: switch ECDSA_METHOD usage to EC_KEY_METHOD
smtpd and the bits it needs in libtls are the only consumer left of
ECDSA_METHOD, which is long deprecated. This paves the way for the
removal in libcrypto.
The diff is from gilles' work on OpenSMTPD-portable, libretls had a
similar diff.
ok tb@, jsing@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index f4c23f64e6..af081a079a 100644 --- a/src/lib/libtls/tls_internal.h +++ b/src/lib/libtls/tls_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_internal.h,v 1.81 2023/04/09 18:26:26 tb Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.82 2023/06/18 11:43:03 op Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> | 3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> |
4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
@@ -298,7 +298,7 @@ int tls_cert_pubkey_hash(X509 *_cert, char **_hash); | |||
298 | int tls_password_cb(char *_buf, int _size, int _rwflag, void *_u); | 298 | int tls_password_cb(char *_buf, int _size, int _rwflag, void *_u); |
299 | 299 | ||
300 | RSA_METHOD *tls_signer_rsa_method(void); | 300 | RSA_METHOD *tls_signer_rsa_method(void); |
301 | ECDSA_METHOD *tls_signer_ecdsa_method(void); | 301 | EC_KEY_METHOD *tls_signer_ecdsa_method(void); |
302 | 302 | ||
303 | #define TLS_PADDING_NONE 0 | 303 | #define TLS_PADDING_NONE 0 |
304 | #define TLS_PADDING_RSA_PKCS1 1 | 304 | #define TLS_PADDING_RSA_PKCS1 1 |