Use the correct headers to compile with libressl
authorbeck <beck@openbsd.org>
Wed, 26 Apr 2023 18:59:36 +0000 (18:59 +0000)
committerbeck <beck@openbsd.org>
Wed, 26 Apr 2023 18:59:36 +0000 (18:59 +0000)
lib/libcrypto/x509/x509_policy.c

index b0c2712..ec98829 100644 (file)
 #include <openssl/x509.h>
 
 #include <assert.h>
+#include <string.h>
 
-#include <openssl/mem.h>
-#include <openssl/obj.h>
+#include <openssl/objects.h>
 #include <openssl/stack.h>
 #include <openssl/x509v3.h>
 
-#include "../internal.h"
-#include "../x509v3/internal.h"
-#include "internal.h"
+#include "x509_internal.h"
+#include "x509_local.h"
 
 
 // This file computes the X.509 policy tree, as described in RFC 5280, section