projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip the correct number of tests if SM2 is disabled
[openssl.git]
/
test
/
ssl_cert_table_internal_test.c
diff --git
a/test/ssl_cert_table_internal_test.c
b/test/ssl_cert_table_internal_test.c
index 5adcb8d4df975df0472247b4af9f5134a8054fae..81274db9808918087fabcd43ad973cc6a9f969b8 100644
(file)
--- a/
test/ssl_cert_table_internal_test.c
+++ b/
test/ssl_cert_table_internal_test.c
@@
-1,7
+1,7
@@
/*
/*
- * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2017
-2018
The OpenSSL Project Authors. All Rights Reserved.
*
*
- * Licensed under the
OpenSSL license
(the "License"). You may not use
+ * 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
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
@@
-15,19
+15,9
@@
#include <openssl/ssl.h>
#include "testutil.h"
#include "internal/nelem.h"
#include <openssl/ssl.h>
#include "testutil.h"
#include "internal/nelem.h"
-
-#ifdef __VMS
-# pragma names save
-# pragma names as_is,shortened
-#endif
-
#include "../ssl/ssl_locl.h"
#include "../ssl/ssl_cert_table.h"
#include "../ssl/ssl_locl.h"
#include "../ssl/ssl_cert_table.h"
-#ifdef __VMS
-# pragma names restore
-#endif
-
#define test_cert_table(nid, amask, idx) \
do_test_cert_table(nid, amask, idx, #idx)
#define test_cert_table(nid, amask, idx) \
do_test_cert_table(nid, amask, idx, #idx)
@@
-76,7
+66,7
@@
static int test_ssl_cert_table(void)
return 1;
}
return 1;
}
-int setup_tests()
+int setup_tests(
void
)
{
ADD_TEST(test_ssl_cert_table);
return 1;
{
ADD_TEST(test_ssl_cert_table);
return 1;