summaryrefslogtreecommitdiff
path: root/src/http_auth_digest.h
blob: 8bffce47cf4a4fae6daa9e106599118f873241c1 (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