OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
v3_addr.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "cryptlib.h"
#include <openssl/conf.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/buffer.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Macros

#define ADDR_RAW_BUF_LEN   16
 
#define addr_prefixlen(bs)   ((int) ((bs)->length * 8 - ((bs)->flags & 7)))
 
#define validation_err(_err_)
 

Functions

 ASN1_SEQUENCE (IPAddressRange)
 
int v3_addr_inherits (IPAddrBlocks *addr)
 
int v3_addr_subset (IPAddrBlocks *a, IPAddrBlocks *b)
 
int v3_addr_validate_path (X509_STORE_CTX *ctx)
 
int v3_addr_validate_resource_set (STACK_OF(X509)*chain, IPAddrBlocks *ext, int allow_inheritance)
 

Macro Definition Documentation

#define addr_prefixlen (   bs)    ((int) ((bs)->length * 8 - ((bs)->flags & 7)))
#define ADDR_RAW_BUF_LEN   16
#define validation_err (   _err_)
Value:
do { \
if (ctx != NULL) { \
ctx->error = _err_; \
ctx->error_depth = i; \
ctx->current_cert = x; \
ret = ctx->verify_cb(0, ctx); \
} else { \
ret = 0; \
} \
if (!ret) \
goto done; \
} while (0)

Definition at line 1197 of file v3_addr.c.

Function Documentation

ASN1_SEQUENCE ( IPAddressRange  )
int v3_addr_inherits ( IPAddrBlocks *  addr)

Definition at line 1117 of file v3_addr.c.

int v3_addr_subset ( IPAddrBlocks *  a,
IPAddrBlocks *  b 
)

Definition at line 1171 of file v3_addr.c.

int v3_addr_validate_path ( X509_STORE_CTX ctx)

Definition at line 1316 of file v3_addr.c.

int v3_addr_validate_resource_set ( STACK_OF(X509)*  chain,
IPAddrBlocks *  ext,
int  allow_inheritance 
)

Definition at line 1325 of file v3_addr.c.