1
0
Fork 0
mirror of https://github.com/kakwa/uts-server synced 2025-07-03 12:07:02 +02:00

general reorganization

* rename the logger function to uts_logger
* add logging to the create_tsctx fucntion
* fix some warning *
This commit is contained in:
kakwa 2016-08-26 20:39:45 +02:00
parent c2752532f1
commit 376d100e9f
8 changed files with 50 additions and 60 deletions

View file

@ -10,6 +10,7 @@
#include <openssl/rand.h>
#include <openssl/ts.h>
#include <openssl/bn.h>
#include "context.h"
/* Name of config entry that defines the OID file. */
#define ENV_OID_FILE "oid_file"
@ -35,4 +36,5 @@ static TS_RESP *create_response(CONF *conf, const char *section, char *engine,
static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data);
static ASN1_INTEGER *next_serial(const char *serialfile);
static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial);
TS_RESP_CTX *create_tsctx(CONF *conf, const char *section, const char *policy);
TS_RESP_CTX *create_tsctx(rfc3161_context *ct, CONF *conf, const char *section,
const char *policy);