diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-04 23:03:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-04 23:03:23 +0000 |
commit | 2d77217b57f0b274e843a804355ed3f48edfb327 (patch) | |
tree | 245c1a44b9ab495f24b6d2daa11960282dae391e /win32/win32.c | |
parent | d38acd6c115bc9ca928d820fb506866e7dc749da (diff) | |
download | perl-2d77217b57f0b274e843a804355ed3f48edfb327.tar.gz |
correct prototype for des_fcrypt(), explain how to add it in more
detail, and supply a patch for libdes-3.06
p4raw-id: //depot/maint-5.005/perl@1729
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 721b62ace9..3f1c215b85 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1164,7 +1164,7 @@ win32_alarm(unsigned int sec) #if defined(HAVE_DES_FCRYPT) || defined(PERL_OBJECT) #ifdef HAVE_DES_FCRYPT -extern char * des_fcrypt(char *cbuf, const char *txt, const char *salt); +extern char * des_fcrypt(const char *txt, const char *salt, char *cbuf); #endif DllExport char * @@ -1172,7 +1172,7 @@ win32_crypt(const char *txt, const char *salt) { #ifdef HAVE_DES_FCRYPT dTHR; - return des_fcrypt(crypt_buffer, txt, salt); + return des_fcrypt(txt, salt, crypt_buffer); #else die("The crypt() function is unimplemented due to excessive paranoia."); return Nullch; |