]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/pull-job.h
import: port importd from libgcrypt to openssl^gcrypt
[thirdparty/systemd.git] / src / import / pull-job.h
index bc5258a6934cd83bfdb862761bc7cbfac21f8fb8..7a98b0f2f652e8ab97c01acccb28e3de74b9cb37 100644 (file)
@@ -1,12 +1,12 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-#include <gcrypt.h>
 #include <sys/stat.h>
 
 #include "curl-util.h"
 #include "import-compress.h"
 #include "macro.h"
+#include "openssl-util.h"
 #include "pull-common.h"
 
 typedef struct PullJob PullJob;
@@ -74,7 +74,7 @@ struct PullJob {
         usec_t last_status_usec;
 
         bool calc_checksum;
-        gcry_md_hd_t checksum_context;
+        hash_context_t checksum_ctx;
 
         char *checksum;
         bool sync;