GOST external tests
[oweals/openssl.git] / test / casttest.c
index 417a4cba2e8adf841db79821445cd9bf36f9bdeb..5bc47e824ad27c5c9911a1056be107ebf088cc7d 100644 (file)
@@ -1,18 +1,24 @@
 /*
- * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2020 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
  */
 
+/*
+ * CAST low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 
 #include <openssl/opensslconf.h> /* To see if OPENSSL_NO_CAST is defined */
-#include <internal/nelem.h>
+#include "internal/nelem.h"
 #include "testutil.h"
 
 #ifndef OPENSSL_NO_CAST