diff options
| author | Richard Basch <probe@mit.edu> | 1997-02-06 03:29:00 +0000 |
|---|---|---|
| committer | Richard Basch <probe@mit.edu> | 1997-02-06 03:29:00 +0000 |
| commit | dac31082e3cbe6655612d55b8bce1968cbed114a (patch) | |
| tree | 2ed2f333c262124dd502544634d437aacda8e2ba /src/windows/wintel/encrypt.h | |
| parent | a0b9ce4bee60136363cfff7a93c4e42eab972c02 (diff) | |
| download | krb5-dac31082e3cbe6655612d55b8bce1968cbed114a.tar.gz krb5-dac31082e3cbe6655612d55b8bce1968cbed114a.tar.xz krb5-dac31082e3cbe6655612d55b8bce1968cbed114a.zip | |
Makefile.in: Fixed linking of telnet.exe (win16)
encrypt.c: Replace printf with MessageBox and OutputDebugString
encrypt.h: Fixed prototyping of des425 functions (win16)
telnet.c: Removed ^M at end of every line
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9790 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/wintel/encrypt.h')
| -rw-r--r-- | src/windows/wintel/encrypt.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/windows/wintel/encrypt.h b/src/windows/wintel/encrypt.h index 80295681c..605c0de32 100644 --- a/src/windows/wintel/encrypt.h +++ b/src/windows/wintel/encrypt.h @@ -158,15 +158,17 @@ void ofb64_session P((Session_Key *, int)); int ofb64_keyid P((int, unsigned char *, int *)); void ofb64_printsub P((unsigned char *, int, unsigned char *, int)); -__declspec(dllimport) int __stdcall -des_new_random_key P((Block)); -__declspec(dllimport) void __stdcall -des_set_random_generator_seed P((Block)); -__declspec(dllimport) void __stdcall -des_key_sched P((Block, Schedule)); -__declspec(dllimport) void __stdcall -des_ecb_encrypt P((Block, Block, Schedule, int)); -int des_string_to_key P((char *, Block)); +KRB5_DLLIMP int KRB5_CALLCONV + des_new_random_key P((Block)); +KRB5_DLLIMP void KRB5_CALLCONV + des_set_random_generator_seed P((Block)); +KRB5_DLLIMP void KRB5_CALLCONV + des_key_sched P((Block, Schedule)); +KRB5_DLLIMP void KRB5_CALLCONV + des_ecb_encrypt P((Block, Block, Schedule, int)); + +/* int des_string_to_key P((char *, Block)); */ + #ifdef DEBUG extern int encrypt_debug_mode; |
