summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-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 5da808cd04..91e1fe8f32 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.19 2023/06/15 18:30:09 tb Exp $ */ 1/* $OpenBSD: x509type.c,v 1.20 2023/11/13 15:36:55 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 *
@@ -83,6 +83,9 @@ X509_certificate_type(const X509 *x, const EVP_PKEY *pkey)
83 case EVP_PKEY_RSA: 83 case EVP_PKEY_RSA:
84 ret = EVP_PK_RSA|EVP_PKT_SIGN|EVP_PKT_ENC; 84 ret = EVP_PK_RSA|EVP_PKT_SIGN|EVP_PKT_ENC;
85 break; 85 break;
86 case EVP_PKEY_RSA_PSS:
87 ret = EVP_PK_RSA|EVP_PKT_SIGN;
88 break;
86 case EVP_PKEY_DSA: 89 case EVP_PKEY_DSA:
87 ret = EVP_PK_DSA|EVP_PKT_SIGN; 90 ret = EVP_PK_DSA|EVP_PKT_SIGN;
88 break; 91 break;