X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fx509%2Fx509type.c;h=0e33b424be517732e32ae504ce19c88a1965d5dd;hp=7eef1fb39b14b4ab79879b2cdffff1173e69774c;hb=488521d77fdc1de5ae256ce0d9203e35ebc92993;hpb=13735cfef69dfac2d36229810ea0400e2bc6526d diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 7eef1fb39b..0e33b424be 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -1,5 +1,5 @@ /* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -35,6 +35,9 @@ int X509_certificate_type(const X509 *x, const EVP_PKEY *pkey) /* if (!sign only extension) */ ret |= EVP_PKT_ENC; break; + case EVP_PKEY_RSA_PSS: + ret = EVP_PK_RSA | EVP_PKT_SIGN; + break; case EVP_PKEY_DSA: ret = EVP_PK_DSA | EVP_PKT_SIGN; break;