mirror of
https://tinyplantnews.com/git2/ldaphotos
synced 2025-01-10 18:35:15 +00:00
980784ea29
Now accepts argument '-f', for which the argument is a file path. Opens file, then reads input from it. If file is not provided or fopen() fails, ldaphotos defaults to reading message from standard input.
12 lines
309 B
C
12 lines
309 B
C
#include <openssl/evp.h>
|
|
|
|
extern EVP_MD * md;
|
|
|
|
int init_hasher(void);
|
|
int deinit_hasher(void);
|
|
unsigned char * digest(const unsigned char *in, size_t inlen, unsigned int * outlen);
|
|
|
|
int begin_digest();
|
|
int digest_part(const unsigned char *in, size_t inlen);
|
|
unsigned char * get_digest(unsigned int * outlen);
|