EVP: Fix evp_keymgmt_util_copy() for to->keymgmt == NULL
[oweals/openssl.git] / crypto / des / cbc_cksm.c
index 5a1f72f82db83afdcc049965c991fefa1eefb41d..d8ab38bf23777cf1b5995d612c6248cc18afe1be 100644 (file)
@@ -1,13 +1,19 @@
 /*
- * Copyright 1995-2016 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
  */
 
-#include "des_locl.h"
+/*
+ * DES low level APIs are deprecated for public use, but still ok for internal
+ * use.
+ */
+#include "internal/deprecated.h"
+
+#include "des_local.h"
 
 DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output,
                        long length, DES_key_schedule *schedule,