Browse Source

Fix safestack issues in ess.h

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12781)
master
Matt Caswell 1 year ago
parent
commit
1e14bca233
6 changed files with 17 additions and 11 deletions
  1. +1
    -0
      .gitignore
  2. +2
    -0
      build.info
  3. +0
    -3
      crypto/cms/cms_ess.c
  4. +0
    -3
      crypto/ess/ess_lib.c
  5. +0
    -3
      crypto/ts/ts_rsp_verify.c
  6. +14
    -2
      include/openssl/ess.h.in

+ 1
- 0
.gitignore View File

@ -29,6 +29,7 @@
/include/openssl/configuration.h
/include/openssl/crmf.h
/include/openssl/ct.h
/include/openssl/ess.h
/include/openssl/fipskey.h
/include/openssl/ocsp.h
/include/openssl/opensslv.h


+ 2
- 0
build.info View File

@ -20,6 +20,7 @@ DEPEND[]=include/openssl/asn1.h \
include/openssl/configuration.h \
include/openssl/crmf.h \
include/openssl/ct.h \
include/openssl/ess.h \
include/openssl/fipskey.h \
include/openssl/opensslv.h \
include/openssl/ocsp.h \
@ -40,6 +41,7 @@ GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
GENERATE[include/openssl/configuration.h]=include/openssl/configuration.h.in
GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in
GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in
GENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in
GENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in
GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in


+ 0
- 3
crypto/cms/cms_ess.c View File

@ -20,9 +20,6 @@
#include "crypto/x509.h"
#include "cms_local.h"
DEFINE_STACK_OF(ESS_CERT_ID)
DEFINE_STACK_OF(ESS_CERT_ID_V2)
IMPLEMENT_ASN1_FUNCTIONS(CMS_ReceiptRequest)
/* ESS services */


+ 0
- 3
crypto/ess/ess_lib.c View File

@ -14,9 +14,6 @@
#include "crypto/ess.h"
#include "crypto/x509.h"
DEFINE_STACK_OF(ESS_CERT_ID)
DEFINE_STACK_OF(ESS_CERT_ID_V2)
static ESS_CERT_ID *ESS_CERT_ID_new_init(X509 *cert, int issuer_needed);
static ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new_init(const EVP_MD *hash_alg,
X509 *cert, int issuer_needed);


+ 0
- 3
crypto/ts/ts_rsp_verify.c View File

@ -15,9 +15,6 @@
#include "ts_local.h"
#include "crypto/ess.h"
DEFINE_STACK_OF(ESS_CERT_ID)
DEFINE_STACK_OF(ESS_CERT_ID_V2)
static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
X509 *signer, STACK_OF(X509) **chain);
static int ts_check_signing_certs(PKCS7_SIGNER_INFO *si,


include/openssl/ess.h → include/openssl/ess.h.in View File


Loading…
Cancel
Save