Add full PAM support for account management and sessions to su(1).
[dragonfly.git] / lib / libskey / mdx.h
blob567d541c959c1d5dfca44abf710ed6814ec51529
1 #ifdef MD5
2 /* S/Key can use MD5 now, if defined... */
3 #include <md5.h>
5 #define MDXFinal MD5Final
6 #define MDXInit MD5Init
7 #define MDXUpdate MD5Update
8 #define MDX_CTX MD5_CTX
9 #else
11 /* By default, use MD4 for compatibility */
12 #include <md4.h>
14 #define MDXFinal MD4Final
15 #define MDXInit MD4Init
16 #define MDXUpdate MD4Update
17 #define MDX_CTX MD4_CTX
19 #endif