From 33e609bc6fba341792696aa7159aa47556483f0e Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 10 Jan 2022 14:13:03 +0000 Subject: [PATCH] Remove a few unused defines from x509.h As suggested by schwarze, this removes X509_EX_V_{INIT,NETSCAPE_HACK} and X509_EXT_PACK_{STRING,UNKNOWN} ok inoguchi jsing --- lib/libcrypto/x509/x509.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index 4b4bab8be88..8a78a4c38d7 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.88 2021/11/10 13:57:42 schwarze Exp $ */ +/* $OpenBSD: x509.h,v 1.89 2022/01/10 14:13:03 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -147,8 +147,6 @@ DECLARE_STACK_OF(X509_NAME_ENTRY) DECLARE_STACK_OF(X509_NAME) -#define X509_EX_V_NETSCAPE_HACK 0x8000 -#define X509_EX_V_INIT 0x0001 typedef struct X509_extension_st X509_EXTENSION; typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS; @@ -382,9 +380,6 @@ typedef struct PBKDF2PARAM_st { extern "C" { #endif -#define X509_EXT_PACK_UNKNOWN 1 -#define X509_EXT_PACK_STRING 2 - #define X509_extract_key(x) X509_get_pubkey(x) /*****/ #define X509_REQ_extract_key(a) X509_REQ_get_pubkey(a) #define X509_name_cmp(a,b) X509_NAME_cmp((a),(b)) -- 2.20.1