Mercurial > hg > nginx-quic
annotate src/core/ngx_md5.h @ 1726:d2a12e9a34e8 stable-0.5
r1594 merge:
unescape SSI include
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Dec 2007 20:56:13 +0000 |
parents | 9b047c9e96c1 |
children | b659514a3948 |
rev | line source |
---|---|
1717 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_MD5_H_INCLUDED_ | |
8 #define _NGX_MD5_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 #if (NGX_HAVE_OPENSSL_MD5_H) | |
16 #include <openssl/md5.h> | |
17 #else | |
18 #include <md5.h> | |
19 #endif | |
20 | |
21 | |
22 typedef MD5_CTX ngx_md5_t; | |
23 | |
24 | |
25 #if (NGX_OPENSSL_MD5) | |
26 | |
1723
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
27 #define ngx_md5_init MD5_Init |
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
28 #define ngx_md5_update MD5_Update |
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
29 #define ngx_md5_final MD5_Final |
1717 | 30 |
31 #else | |
32 | |
1723
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
33 #define ngx_md5_init MD5Init |
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
34 #define ngx_md5_update MD5Update |
9b047c9e96c1
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
Igor Sysoev <igor@sysoev.ru>
parents:
1717
diff
changeset
|
35 #define ngx_md5_final MD5Final |
1717 | 36 |
37 #endif | |
38 | |
39 | |
40 #endif /* _NGX_MD5_H_INCLUDED_ */ |