Cleanup openssl includes a bit. Use x509.h instead of x509v3.h, add asn1.h
authorclaudio <claudio@openbsd.org>
Thu, 4 Feb 2021 08:13:57 +0000 (08:13 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 4 Feb 2021 08:13:57 +0000 (08:13 +0000)
and remove evp.h. First two suggested by tb@
Compiler agrees

usr.sbin/rpki-client/parser.c

index b8c4dc5..ab64f9d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: parser.c,v 1.1 2021/02/04 08:10:25 claudio Exp $ */
+/*     $OpenBSD: parser.c,v 1.2 2021/02/04 08:13:57 claudio Exp $ */
 /*
  * Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
  * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -30,9 +30,9 @@
 #include <unistd.h>
 #include <imsg.h>
 
+#include <openssl/asn1.h>
 #include <openssl/err.h>
-#include <openssl/evp.h>
-#include <openssl/x509v3.h>
+#include <openssl/x509.h>
 
 #include "extern.h"