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/x509.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/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index f135ee9a86..5b25c6e4b1 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.75 2021/03/31 16:51:06 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.76 2021/09/02 12:41:44 job Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -287,6 +287,10 @@ struct x509_st | |||
287 | STACK_OF(DIST_POINT) *crldp; | 287 | STACK_OF(DIST_POINT) *crldp; |
288 | STACK_OF(GENERAL_NAME) *altname; | 288 | STACK_OF(GENERAL_NAME) *altname; |
289 | NAME_CONSTRAINTS *nc; | 289 | NAME_CONSTRAINTS *nc; |
290 | #ifndef OPENSSL_NO_RFC3779 | ||
291 | STACK_OF(IPAddressFamily) *rfc3779_addr; | ||
292 | struct ASIdentifiers_st *rfc3779_asid; | ||
293 | #endif | ||
290 | #ifndef OPENSSL_NO_SHA | 294 | #ifndef OPENSSL_NO_SHA |
291 | unsigned char sha1_hash[SHA_DIGEST_LENGTH]; | 295 | unsigned char sha1_hash[SHA_DIGEST_LENGTH]; |
292 | #endif | 296 | #endif |