summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509type.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509type.c b/src/lib/libcrypto/x509/x509type.c
index ebc02c5929..5da808cd04 100644
--- a/src/lib/libcrypto/x509/x509type.c
+++ b/src/lib/libcrypto/x509/x509type.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509type.c,v 1.18 2023/02/16 08:38:17 tb Exp $ */ 1/* $OpenBSD: x509type.c,v 1.19 2023/06/15 18:30:09 tb 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 *
@@ -89,6 +89,9 @@ X509_certificate_type(const X509 *x, const EVP_PKEY *pkey)
89 case EVP_PKEY_EC: 89 case EVP_PKEY_EC:
90 ret = EVP_PK_EC|EVP_PKT_SIGN|EVP_PKT_EXCH; 90 ret = EVP_PK_EC|EVP_PKT_SIGN|EVP_PKT_EXCH;
91 break; 91 break;
92 case EVP_PKEY_ED25519:
93 ret = EVP_PKT_SIGN;
94 break;
92 case EVP_PKEY_DH: 95 case EVP_PKEY_DH:
93 ret = EVP_PK_DH|EVP_PKT_EXCH; 96 ret = EVP_PK_DH|EVP_PKT_EXCH;
94 break; 97 break;