summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-10 14:13:04 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-10 14:13:04 +0000
commit4bfd44af221f6efcde5645f1cb0dce1573c413f6 (patch)
treef2ecfa884f1004a2ef9fbfe9cf90638d55d7c35c
parente8181d796873b82eca3ea9f41a8e69932b384af0 (diff)
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
-rw-r--r--lib/libcrypto/x509/x509.h7
1 files changed, 1 insertions, 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))