Changed md4->md5
prototypes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1238 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -58,7 +58,7 @@ typedef unsigned char OtpKey[OTPKEYSIZE];
|
|||||||
|
|
||||||
typedef enum { OTP_ALG_MD4, OTP_ALG_MD5, OTP_ALG_SHA } OtpAlgID;
|
typedef enum { OTP_ALG_MD4, OTP_ALG_MD5, OTP_ALG_SHA } OtpAlgID;
|
||||||
|
|
||||||
#define OTP_ALG_DEFAULT "md4"
|
#define OTP_ALG_DEFAULT "md5"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
OtpAlgID id;
|
OtpAlgID id;
|
||||||
@@ -98,5 +98,7 @@ void *otp_db_open (void);
|
|||||||
void otp_db_close (void *);
|
void otp_db_close (void *);
|
||||||
int otp_put (void *, OtpContext *ctx);
|
int otp_put (void *, OtpContext *ctx);
|
||||||
int otp_get (void *, OtpContext *ctx);
|
int otp_get (void *, OtpContext *ctx);
|
||||||
|
int otp_simple_get (void *, OtpContext *ctx);
|
||||||
|
int otp_delete (void *, OtpContext *ctx);
|
||||||
|
|
||||||
#endif /* _OTP_H */
|
#endif /* _OTP_H */
|
||||||
|
Reference in New Issue
Block a user