summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls1.h
diff options
context:
space:
mode:
authorbeck <>2018-11-09 00:34:55 +0000
committerbeck <>2018-11-09 00:34:55 +0000
commit9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c (patch)
tree931f6037636eb2559f997c863050b18ff7fe93ab /src/lib/libssl/tls1.h
parent0a537e488c3eafa2ea0bf8dacdcb4db1769a86f5 (diff)
downloadopenbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.tar.gz
openbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.tar.bz2
openbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.zip
Reimplement the sigalgs processing code into a new implementation
that will be usable with TLS 1.3 with less eye bleed. ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/tls1.h')
-rw-r--r--src/lib/libssl/tls1.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h
index 603201ad17..c253f6d2c0 100644
--- a/src/lib/libssl/tls1.h
+++ b/src/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1.h,v 1.36 2018/11/07 01:53:36 jsing Exp $ */ 1/* $OpenBSD: tls1.h,v 1.37 2018/11/09 00:34:55 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -295,29 +295,6 @@ extern "C" {
295#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 2 295#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 2
296#define TLSEXT_ECPOINTFORMAT_last 2 296#define TLSEXT_ECPOINTFORMAT_last 2
297 297
298/* Signature and hash algorithms from RFC 5246. */
299
300#define TLSEXT_signature_anonymous 0
301#define TLSEXT_signature_rsa 1
302#define TLSEXT_signature_dsa 2
303#define TLSEXT_signature_ecdsa 3
304/* FIXME IANA */
305#define TLSEXT_signature_gostr01 237
306#define TLSEXT_signature_gostr12_256 238
307#define TLSEXT_signature_gostr12_512 239
308
309#define TLSEXT_hash_none 0
310#define TLSEXT_hash_md5 1
311#define TLSEXT_hash_sha1 2
312#define TLSEXT_hash_sha224 3
313#define TLSEXT_hash_sha256 4
314#define TLSEXT_hash_sha384 5
315#define TLSEXT_hash_sha512 6
316/* FIXME IANA */
317#define TLSEXT_hash_gost94 237
318#define TLSEXT_hash_streebog_256 238
319#define TLSEXT_hash_streebog_512 239
320
321#define TLSEXT_MAXLEN_host_name 255 298#define TLSEXT_MAXLEN_host_name 255
322 299
323const char *SSL_get_servername(const SSL *s, const int type); 300const char *SSL_get_servername(const SSL *s, const int type);