X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Fdtlsv1listentest.c;h=212bdfd78217222ca4c28340d451d5969ff79246;hb=257e9d03b028402089c9f98f3acb25ba668c09af;hp=e401ccffddfa15af36e65023fc56273a4207a3dc;hpb=ad887416f1e59c3294a7d8f83a0ca77120523b4a;p=oweals%2Fopenssl.git diff --git a/test/dtlsv1listentest.c b/test/dtlsv1listentest.c index e401ccffdd..212bdfd782 100644 --- a/test/dtlsv1listentest.c +++ b/test/dtlsv1listentest.c @@ -1,7 +1,7 @@ /* - * Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2016-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 @@ -12,7 +12,7 @@ #include #include #include -#include "e_os.h" +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_SOCK @@ -348,7 +348,7 @@ static int dtls_listen_test(int i) } #endif -int setup_tests() +int setup_tests(void) { #ifndef OPENSSL_NO_SOCK ADD_ALL_TESTS(dtls_listen_test, (int)OSSL_NELEM(testpackets));