diff options
| author | tb <> | 2023-04-28 16:30:14 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-28 16:30:14 +0000 |
| commit | 83a0da50b7e7d8bf663824c7e46e6d0a39dd5b18 (patch) | |
| tree | 9058435a70684a5adbf1febdddf08ce4894fa577 /src/lib/libcrypto/x509/x509_policy.c | |
| parent | d3241f465d88c38cafbf3cf15404f0cc8f189057 (diff) | |
| download | openbsd-83a0da50b7e7d8bf663824c7e46e6d0a39dd5b18.tar.gz openbsd-83a0da50b7e7d8bf663824c7e46e6d0a39dd5b18.tar.bz2 openbsd-83a0da50b7e7d8bf663824c7e46e6d0a39dd5b18.zip | |
Unifdef LIBRESSL_HAS_POLICY_DAG and remove it from the Makefile
with beck
Diffstat (limited to 'src/lib/libcrypto/x509/x509_policy.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_policy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509_policy.c b/src/lib/libcrypto/x509/x509_policy.c index e51e193085..73f7154f51 100644 --- a/src/lib/libcrypto/x509/x509_policy.c +++ b/src/lib/libcrypto/x509/x509_policy.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_policy.c,v 1.24 2023/04/28 15:57:38 tb Exp $ */ | 1 | /* $OpenBSD: x509_policy.c,v 1.25 2023/04/28 16:30:14 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2022, Google Inc. | 3 | * Copyright (c) 2022, Google Inc. |
| 4 | * | 4 | * |
| @@ -26,8 +26,6 @@ | |||
| 26 | #include "x509_internal.h" | 26 | #include "x509_internal.h" |
| 27 | #include "x509_local.h" | 27 | #include "x509_local.h" |
| 28 | 28 | ||
| 29 | #ifdef LIBRESSL_HAS_POLICY_DAG | ||
| 30 | |||
| 31 | /* XXX move to proper place */ | 29 | /* XXX move to proper place */ |
| 32 | #define X509_R_INVALID_POLICY_EXTENSION 201 | 30 | #define X509_R_INVALID_POLICY_EXTENSION 201 |
| 33 | 31 | ||
| @@ -1019,5 +1017,3 @@ err: | |||
| 1019 | sk_X509_POLICY_LEVEL_pop_free(levels, x509_policy_level_free); | 1017 | sk_X509_POLICY_LEVEL_pop_free(levels, x509_policy_level_free); |
| 1020 | return ret; | 1018 | return ret; |
| 1021 | } | 1019 | } |
| 1022 | |||
| 1023 | #endif /* LIBRESSL_HAS_POLICY_DAG */ | ||
