mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Require OpenSSL
This commit is contained in:
parent
85aeedb9bc
commit
a6ca68a70c
11 changed files with 3 additions and 1759 deletions
|
@ -3,16 +3,8 @@
|
|||
#include <iostream>
|
||||
#include <cstring>
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#include <openssl/md5.h>
|
||||
#include <openssl/sha.h>
|
||||
#else
|
||||
extern "C" {
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "sha256.h"
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "hash.hh"
|
||||
#include "archive.hh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue