summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/s3_lib.c6
-rw-r--r--src/lib/libssl/ssl3.h4
-rw-r--r--src/lib/libssl/tls1.h14
3 files changed, 15 insertions, 9 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index f98ec3e098..e2fef72588 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.194 2020/06/05 17:58:32 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.195 2020/06/05 18:14:05 jsing 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 *
@@ -2553,6 +2553,10 @@ ssl3_get_req_cert_types(SSL *s, CBB *cbb)
2553 return 0; 2553 return 0;
2554 if (!CBB_add_u8(cbb, TLS_CT_GOST12_512_SIGN)) 2554 if (!CBB_add_u8(cbb, TLS_CT_GOST12_512_SIGN))
2555 return 0; 2555 return 0;
2556 if (!CBB_add_u8(cbb, TLS_CT_GOST12_256_SIGN_COMPAT))
2557 return 0;
2558 if (!CBB_add_u8(cbb, TLS_CT_GOST12_512_SIGN_COMPAT))
2559 return 0;
2556 } 2560 }
2557#endif 2561#endif
2558 2562
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index 30dc4c5d7d..a102d11434 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl3.h,v 1.50 2020/03/12 17:01:53 jsing Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.51 2020/06/05 18:14:05 jsing 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 *
@@ -348,7 +348,7 @@ typedef struct ssl3_buffer_st {
348 * enough to contain all of the cert types defined either for 348 * enough to contain all of the cert types defined either for
349 * SSLv3 and TLSv1. 349 * SSLv3 and TLSv1.
350 */ 350 */
351#define SSL3_CT_NUMBER 11 351#define SSL3_CT_NUMBER 13
352 352
353#define SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS 0x0001 353#define SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS 0x0001
354#define TLS1_FLAGS_SKIP_CERT_VERIFY 0x0010 354#define TLS1_FLAGS_SKIP_CERT_VERIFY 0x0010
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h
index 2230f0bab8..8cd5226582 100644
--- a/src/lib/libssl/tls1.h
+++ b/src/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1.h,v 1.40 2020/01/02 06:23:16 jsing Exp $ */ 1/* $OpenBSD: tls1.h,v 1.41 2020/06/05 18:14:05 jsing 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 *
@@ -735,16 +735,18 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
735#define TLS_CT_DSS_SIGN 2 735#define TLS_CT_DSS_SIGN 2
736#define TLS_CT_RSA_FIXED_DH 3 736#define TLS_CT_RSA_FIXED_DH 3
737#define TLS_CT_DSS_FIXED_DH 4 737#define TLS_CT_DSS_FIXED_DH 4
738#define TLS_CT_GOST94_SIGN 21
739#define TLS_CT_GOST01_SIGN 22
738#define TLS_CT_ECDSA_SIGN 64 740#define TLS_CT_ECDSA_SIGN 64
739#define TLS_CT_RSA_FIXED_ECDH 65 741#define TLS_CT_RSA_FIXED_ECDH 65
740#define TLS_CT_ECDSA_FIXED_ECDH 66 742#define TLS_CT_ECDSA_FIXED_ECDH 66
741#define TLS_CT_GOST94_SIGN 21 743#define TLS_CT_GOST12_256_SIGN 67
742#define TLS_CT_GOST01_SIGN 22 744#define TLS_CT_GOST12_512_SIGN 68
743#define TLS_CT_GOST12_256_SIGN 238 /* FIXME: IANA */ 745#define TLS_CT_GOST12_256_SIGN_COMPAT 238 /* pre-IANA, for compat */
744#define TLS_CT_GOST12_512_SIGN 239 /* FIXME: IANA */ 746#define TLS_CT_GOST12_512_SIGN_COMPAT 239 /* pre-IANA, for compat */
745/* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see 747/* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see
746 * comment there) */ 748 * comment there) */
747#define TLS_CT_NUMBER 11 749#define TLS_CT_NUMBER 13
748 750
749#define TLS1_FINISH_MAC_LENGTH 12 751#define TLS1_FINISH_MAC_LENGTH 12
750 752