Latest update.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "internal/cryptlib.h"
|
||||
|
||||
DEFINE_STACK_OF(CTLOG)
|
||||
|
||||
/*
|
||||
* Information about a CT log server.
|
||||
*/
|
||||
|
||||
+3
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "ct_local.h"
|
||||
|
||||
DEFINE_STACK_OF(SCT)
|
||||
|
||||
int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
|
||||
{
|
||||
size_t siglen;
|
||||
|
||||
@@ -40,6 +40,7 @@ CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new_with_libctx(OPENSSL_CTX *libctx,
|
||||
ctx->propq = OPENSSL_strdup(propq);
|
||||
if (ctx->propq == NULL) {
|
||||
CTerr(0, ERR_R_MALLOC_FAILURE);
|
||||
OPENSSL_free(ctx);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include "ct_local.h"
|
||||
|
||||
DEFINE_STACK_OF(SCT)
|
||||
|
||||
static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
|
||||
{
|
||||
int nid = SCT_get_signature_nid(sct);
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "ct_local.h"
|
||||
|
||||
DEFINE_STACK_OF(SCT)
|
||||
|
||||
SCT *SCT_new(void)
|
||||
{
|
||||
SCT *sct = OPENSSL_zalloc(sizeof(*sct));
|
||||
|
||||
@@ -24,8 +24,10 @@ SCT_CTX *SCT_CTX_new(OPENSSL_CTX *libctx, const char *propq)
|
||||
{
|
||||
SCT_CTX *sctx = OPENSSL_zalloc(sizeof(*sctx));
|
||||
|
||||
if (sctx == NULL)
|
||||
if (sctx == NULL) {
|
||||
CTerr(CT_F_SCT_CTX_NEW, ERR_R_MALLOC_FAILURE);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
sctx->libctx = libctx;
|
||||
if (propq != NULL) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "ct_local.h"
|
||||
|
||||
DEFINE_STACK_OF(SCT)
|
||||
|
||||
static char *i2s_poison(const X509V3_EXT_METHOD *method, void *val)
|
||||
{
|
||||
return OPENSSL_strdup("NULL");
|
||||
|
||||
Reference in New Issue
Block a user