VirtualBox

source: vbox/trunk/src/libs/openssl-3.4.1/test/helpers/cmp_testlib.h

Last change on this file was 109052, checked in by vboxsync, 4 weeks ago

openssl-3.4.1: Applied our changes, regenerated files, added missing files and functions. This time with a three way merge. ​bugref:10890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/*
2 * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright Nokia 2007-2019
4 * Copyright Siemens AG 2015-2019
5 *
6 * Licensed under the Apache License 2.0 (the "License"). You may not use
7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at
9 * https://www.openssl.org/source/license.html
10 */
11
12#ifndef OSSL_TEST_CMP_TESTLIB_H
13# define OSSL_TEST_CMP_TESTLIB_H
14
15# include <openssl/cmp.h>
16# include <openssl/pem.h>
17# include <openssl/rand.h>
18
19# include "../../crypto/cmp/cmp_local.h"
20# include "../testutil.h"
21
22# ifndef OPENSSL_NO_CMP
23# define CMP_TEST_REFVALUE_LENGTH 15 /* arbitrary value */
24OSSL_CMP_MSG *load_pkimsg(const char *file, OSSL_LIB_CTX *libctx);
25int valid_asn1_encoding(const OSSL_CMP_MSG *msg);
26int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2);
27int STACK_OF_X509_push1(STACK_OF(X509) *sk, X509 *cert);
28int print_to_bio_out(const char *func, const char *file, int line,
29 OSSL_CMP_severity level, const char *msg);
30# endif
31
32#endif /* OSSL_TEST_CMP_TESTLIB_H */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette