diff options
author | Ulf Möller <ulf@openssl.org> | 2006-02-12 23:11:56 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2006-02-12 23:11:56 +0000 |
commit | c7235be6e36c4bef84594aa3b2f0561db84b63d8 (patch) | |
tree | d304c3d8ac064a1345d64f0e25a1eebf52e564a4 /crypto/x509v3/v3_utl.c | |
parent | 1c17d91c53ba73c907e0559d2bb80122dc7a8284 (diff) | |
download | openssl-c7235be6e36c4bef84594aa3b2f0561db84b63d8.zip openssl-c7235be6e36c4bef84594aa3b2f0561db84b63d8.tar.gz openssl-c7235be6e36c4bef84594aa3b2f0561db84b63d8.tar.bz2 |
RFC 3161 compliant time stamp request creation, response generation
and response verification.
Submitted by: Zoltan Glozik <zglozik@opentsa.org>
Reviewed by: Ulf Moeller
Diffstat (limited to 'crypto/x509v3/v3_utl.c')
-rw-r--r-- | crypto/x509v3/v3_utl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index 7911c4b..46d7580 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -107,6 +107,19 @@ int X509V3_add_value_uchar(const char *name, const unsigned char *value, return X509V3_add_value(name,(const char *)value,extlist); } +/* New function for CONF_VALUE. */ + +CONF_VALUE *X509V3_conf_new() + { + CONF_VALUE *v = (CONF_VALUE *) OPENSSL_malloc(sizeof(CONF_VALUE)); + if (!v) + { + v->section = v->name = v->value = NULL; + } + + return v; + } + /* Free function for STACK_OF(CONF_VALUE) */ void X509V3_conf_free(CONF_VALUE *conf) |