summaryrefslogtreecommitdiff
path: root/src/http_auth_digest.h
blob: 25d95ee4c68dd5400497a6d6d997c80037fb2a24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _DIGCALC_H_
#define _DIGCALC_H_

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#define HASHLEN 16
typedef unsigned char HASH[HASHLEN];
#define HASHHEXLEN 32
typedef char HASHHEX[HASHHEXLEN+1];
#ifdef USE_OPENSSL
#define IN const
#else
#define IN
#endif
#define OUT

void CvtHex(
    IN HASH Bin,
    OUT HASHHEX Hex
    );

#endif