Deleted Added
full compact
ct_prn.c (1.1.1.2) ct_prn.c (1.1.1.1)
1/*
2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifdef OPENSSL_NO_CT
11# error "CT is disabled"
12#endif
13
14#include <openssl/asn1.h>
15#include <openssl/bio.h>
16
1/*
2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifdef OPENSSL_NO_CT
11# error "CT is disabled"
12#endif
13
14#include <openssl/asn1.h>
15#include <openssl/bio.h>
16
17#include "ct_local.h"
17#include "ct_locl.h"
18
19static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
20{
21 int nid = SCT_get_signature_nid(sct);
22
23 if (nid == NID_undef)
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
25 else

--- 102 unchanged lines hidden ---
18
19static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
20{
21 int nid = SCT_get_signature_nid(sct);
22
23 if (nid == NID_undef)
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
25 else

--- 102 unchanged lines hidden ---