summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-03 15:05:30 +0100
committerMatt Caswell <matt@openssl.org>2020-09-13 11:10:41 +0100
commitfd3ed85c67174a0d3b6639ba9b237351d1c2201f (patch)
tree13caa5fbd3ee2cca408a4e1c0611c96d13858e43 /crypto/ocsp
parent904e1f92b381a15139af154ca58fd6d9f566ab2e (diff)
Fix safestack issues in ocsp.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)
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp_cl.c3
-rw-r--r--crypto/ocsp/ocsp_prn.c3
-rw-r--r--crypto/ocsp/ocsp_srv.c3
-rw-r--r--crypto/ocsp/ocsp_vfy.c3
4 files changed, 0 insertions, 12 deletions
diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c
index b977e88d03..33d77af426 100644
--- a/crypto/ocsp/ocsp_cl.c
+++ b/crypto/ocsp/ocsp_cl.c
@@ -18,9 +18,6 @@
#include <openssl/ocsp.h>
#include "ocsp_local.h"
-DEFINE_STACK_OF(OCSP_ONEREQ)
-DEFINE_STACK_OF(OCSP_SINGLERESP)
-
/*
* Utility functions related to sending OCSP requests and extracting relevant
* information from the response.
diff --git a/crypto/ocsp/ocsp_prn.c b/crypto/ocsp/ocsp_prn.c
index c4917ee184..654ddbc7ff 100644
--- a/crypto/ocsp/ocsp_prn.c
+++ b/crypto/ocsp/ocsp_prn.c
@@ -14,9 +14,6 @@
#include "internal/cryptlib.h"
#include <openssl/pem.h>
-DEFINE_STACK_OF(OCSP_ONEREQ)
-DEFINE_STACK_OF(OCSP_SINGLERESP)
-
static int ocsp_certid_print(BIO *bp, OCSP_CERTID *a, int indent)
{
BIO_printf(bp, "%*sCertificate ID:\n", indent, "");
diff --git a/crypto/ocsp/ocsp_srv.c b/crypto/ocsp/ocsp_srv.c
index a87fea892d..ee0e8a612c 100644
--- a/crypto/ocsp/ocsp_srv.c
+++ b/crypto/ocsp/ocsp_srv.c
@@ -16,9 +16,6 @@
#include <openssl/ocsp.h>
#include "ocsp_local.h"
-DEFINE_STACK_OF(OCSP_ONEREQ)
-DEFINE_STACK_OF(OCSP_SINGLERESP)
-
/*
* Utility functions related to sending OCSP responses and extracting
* relevant information from the request.
diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c
index 35a01c444d..3138716a0a 100644
--- a/crypto/ocsp/ocsp_vfy.c
+++ b/crypto/ocsp/ocsp_vfy.c
@@ -12,9 +12,6 @@
#include <openssl/err.h>
#include <string.h>
-DEFINE_STACK_OF(OCSP_ONEREQ)
-DEFINE_STACK_OF(OCSP_SINGLERESP)
-
static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
STACK_OF(X509) *certs, unsigned long flags);
static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);