net: assign maintainer for include/net.h
[oweals/u-boot.git] / cmd / md5sum.c
index 1b2352ea5538df7792f8402c67e122b94c52f07f..9d2d4180c5cf8262ae9ea83cd00b0a4943a24b60 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2011
  * Joe Hershberger, National Instruments, joe.hershberger@ni.com
  *
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -54,7 +53,7 @@ static int parse_verify_sum(char *verify_str, u8 *vsum)
                if (strlen(verify_str) == 32)
                        vsum_str = verify_str;
                else {
-                       vsum_str = getenv(verify_str);
+                       vsum_str = env_get(verify_str);
                        if (vsum_str == NULL || strlen(vsum_str) != 32)
                                return 1;
                }