openssl/fuzz-asn1.c-Add-missing-include.patch

34 lines
867 B
Diff

From 1ab9298e43b6023f4083609493f20e354aa7faab Mon Sep 17 00:00:00 2001
From: Richard Levitte <levitte@openssl.org>
Date: Sat, 25 Apr 2020 04:11:09 +0200
Subject: [PATCH 037/217] fuzz/asn1.c: Add missing #include
<openssl/dsa.h> gets included via ts.h... except when 'no-ts' has been
configured.
Fixes #11597
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11640)
(cherry picked from commit 60ebc0ca5a829e2ae939a9ab13658af202b6dfc7)
---
fuzz/asn1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fuzz/asn1.c b/fuzz/asn1.c
index fd2271b..d3148c0 100644
--- a/fuzz/asn1.c
+++ b/fuzz/asn1.c
@@ -20,6 +20,7 @@
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/dh.h>
+#include <openssl/dsa.h>
#include <openssl/ec.h>
#include <openssl/ocsp.h>
#include <openssl/pkcs12.h>
--
1.8.3.1