diff options
author | job <> | 2021-09-02 12:41:44 +0000 |
---|---|---|
committer | job <> | 2021-09-02 12:41:44 +0000 |
commit | a9cb954f2cf630ab74009f5641622ac0d175bc58 (patch) | |
tree | 68881b07659cc9e2b17902a5156f430f2154ecf8 /src/lib/libcrypto/x509/ext_dat.h | |
parent | e7198b4ee0ece23326da3c1f771171a6ca285eca (diff) | |
download | openbsd-a9cb954f2cf630ab74009f5641622ac0d175bc58.tar.gz openbsd-a9cb954f2cf630ab74009f5641622ac0d175bc58.tar.bz2 openbsd-a9cb954f2cf630ab74009f5641622ac0d175bc58.zip |
Lay groundwork to support X.509 v3 extensions for IP Addresses and AS Identifiers
These extensions are defined in RFC 3779 and used in the RPKI (RFC 6482, RFC 8360).
Imported from OpenSSL 1.1.1j (aaf2fcb575cdf6491b98ab4829abf78a3dec8402b8b81efc8f23c00d443981bf)
This changeset is a no-op, as there are 10+ issues and at least 2 security issues.
Work will continue in-tree.
OK tb@, discussed with beck@
Diffstat (limited to 'src/lib/libcrypto/x509/ext_dat.h')
-rw-r--r-- | src/lib/libcrypto/x509/ext_dat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/ext_dat.h b/src/lib/libcrypto/x509/ext_dat.h index 1a7ae6e1ae..53f8eb94e8 100644 --- a/src/lib/libcrypto/x509/ext_dat.h +++ b/src/lib/libcrypto/x509/ext_dat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ext_dat.h,v 1.1 2020/06/04 15:19:31 jsing Exp $ */ | 1 | /* $OpenBSD: ext_dat.h,v 1.2 2021/09/02 12:41:44 job Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -105,6 +105,10 @@ static const X509V3_EXT_METHOD *standard_exts[] = { | |||
105 | #endif | 105 | #endif |
106 | &v3_sxnet, | 106 | &v3_sxnet, |
107 | &v3_info, | 107 | &v3_info, |
108 | #ifndef OPENSSL_NO_RFC3779 | ||
109 | &v3_addr, | ||
110 | &v3_asid, | ||
111 | #endif | ||
108 | #ifndef OPENSSL_NO_OCSP | 112 | #ifndef OPENSSL_NO_OCSP |
109 | &v3_ocsp_nonce, | 113 | &v3_ocsp_nonce, |
110 | &v3_ocsp_crlid, | 114 | &v3_ocsp_crlid, |