diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_addr.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_addr.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c index db9ea089f6..418bddf8b1 100644 --- a/src/lib/libcrypto/x509/x509_addr.c +++ b/src/lib/libcrypto/x509/x509_addr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_addr.c,v 1.25 2021/12/24 10:09:44 tb Exp $ */ | 1 | /* $OpenBSD: x509_addr.c,v 1.26 2021/12/25 15:42:32 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
| 4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
| @@ -1366,17 +1366,20 @@ v2i_IPAddrBlocks(const struct v3_ext_method *method, struct v3_ext_ctx *ctx, | |||
| 1366 | * OpenSSL dispatch | 1366 | * OpenSSL dispatch |
| 1367 | */ | 1367 | */ |
| 1368 | const X509V3_EXT_METHOD v3_addr = { | 1368 | const X509V3_EXT_METHOD v3_addr = { |
| 1369 | NID_sbgp_ipAddrBlock, /* nid */ | 1369 | .ext_nid = NID_sbgp_ipAddrBlock, |
| 1370 | 0, /* flags */ | 1370 | .ext_flags = 0, |
| 1371 | &IPAddrBlocks_it, | 1371 | .it = &IPAddrBlocks_it, |
| 1372 | 0, 0, 0, 0, /* old functions, ignored */ | 1372 | .ext_new = NULL, |
| 1373 | 0, /* i2s */ | 1373 | .ext_free = NULL, |
| 1374 | 0, /* s2i */ | 1374 | .d2i = NULL, |
| 1375 | 0, /* i2v */ | 1375 | .i2d = NULL, |
| 1376 | v2i_IPAddrBlocks, /* v2i */ | 1376 | .i2s = NULL, |
| 1377 | i2r_IPAddrBlocks, /* i2r */ | 1377 | .s2i = NULL, |
| 1378 | 0, /* r2i */ | 1378 | .i2v = NULL, |
| 1379 | NULL /* extension-specific data */ | 1379 | .v2i = v2i_IPAddrBlocks, |
| 1380 | .i2r = i2r_IPAddrBlocks, | ||
| 1381 | .r2i = NULL, | ||
| 1382 | .usr_data = NULL, | ||
| 1380 | }; | 1383 | }; |
| 1381 | 1384 | ||
| 1382 | /* | 1385 | /* |
