diff options
author | tb <> | 2023-04-09 18:26:26 +0000 |
---|---|---|
committer | tb <> | 2023-04-09 18:26:26 +0000 |
commit | 3f534e9f9450f122637aed8d48c9f569cdcbdd94 (patch) | |
tree | 39afd096589ed359614e27170d552525f638aace /src/lib/libtls/tls_internal.h | |
parent | 1a13fc28a37c78be82ff302230a5b50d3ea03d28 (diff) | |
download | openbsd-3f534e9f9450f122637aed8d48c9f569cdcbdd94.tar.gz openbsd-3f534e9f9450f122637aed8d48c9f569cdcbdd94.tar.bz2 openbsd-3f534e9f9450f122637aed8d48c9f569cdcbdd94.zip |
Drop X9.31 support from libtls
The TLS signer isn't exposed in public API (we should finally fix it...)
and it supports X9.31, a standard that has been retired and deprecated for
a very long time. libcrypto will stop supporting it soon, this step is
needed to prepare userland.
ok jsing
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index ca1d96f627..f4c23f64e6 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.80 2022/03/24 15:56:34 tb Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.81 2023/04/09 18:26:26 tb 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> |
@@ -302,7 +302,6 @@ ECDSA_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 |
305 | #define TLS_PADDING_RSA_X9_31 2 | ||
306 | 305 | ||
307 | int tls_config_set_sign_cb(struct tls_config *_config, tls_sign_cb _cb, | 306 | int tls_config_set_sign_cb(struct tls_config *_config, tls_sign_cb _cb, |
308 | void *_cb_arg); | 307 | void *_cb_arg); |