summaryrefslogtreecommitdiffstats
path: root/src/lib/des425/read_passwd.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove krb524, lib/des425, lib/krb4, and include/kerberosIV.Greg Hudson2008-12-181-128/+0
| | | | | | | | | | Remove krb4 build system references and conditionals. Move des425 header stuff referenced by des_int.h into des_int.h. Remove krb4 test cases. ticket: 6303 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21544 dc483132-0cff-0310-8789-dd5450dbe970
* Use snprintf instead of strcpy/strcat in many placesGreg Hudson2008-10-231-3/+2
| | | | | | | ticket: 6200 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20912 dc483132-0cff-0310-8789-dd5450dbe970
* * mac_des_glue.c, des.c, enc_dec.c, key_sched.c, str_to_key.c: Move KfM des ↵Alexandra Ellwood2003-03-061-0/+1
| | | | | | functions into their own file. They are all deprecated on KfM and shouldn't even get built on stock krb5 builds. * read_passwd.c: Added warning comment that des_read_pw_string is an exported function on KfM, so we should not change its ABI git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15250 dc483132-0cff-0310-8789-dd5450dbe970
* Implement krb5_read_password an des_read_pw_stringSam Hartman2002-10-101-114/+33
| | | | | | | | | in terms of krb5_prompter_posix. Change motivated by the desire for echo foo |kinit -4 bar to work in test scripts, but having one implementation of password read functions on unix is good anyway git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14921 dc483132-0cff-0310-8789-dd5450dbe970
* Fix DES_INT32 definitionTom Yu2002-09-271-18/+32
| | | | | | | | | | | | Intial merge of KfM des library API. Update krb.h to use offsets from krb_err.et constants as error codes. Fix up definitions of KRB4_32, KRB_INT32, KRB_UINT32. ticket: 1189 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14904 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-1/+1
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* * read_passwd.c: Create local variable that takes the "int"Ezra Peisach2001-07-311-4/+5
| | | | | | bufsize and makes it unsigned for use in malloc, strcmp, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13660 dc483132-0cff-0310-8789-dd5450dbe970
* * des425.h: Deleted to avoid confusion with the other des.h in the tree. AllKen Raeburn2001-04-101-2/+6
| | | | | | | | | | | | | | | | | | | | | files changed to include des_int.h and (the other) des.h instead. * new_rnd_key.c (des_init_random_number_generator): Cast seed data pointer to keep compiler happy. * read_passwd.c (intr_routine, des_read_pw_string): Add prototypes. (des_read_password): Fix call sequence for des_string_to_key. * str_to_key.c (des_string_to_key): Remove static storage in favor of automatic storage. Fix call sequence to des_key_sched. Delete no-op while loop. * t_quad.c (main): Fix call sequence for des_quad_cksum. * verify.c (des_string_to_key, des_key_sched, des_ecb_encrypt, des_cbc_encrypt): Removed declarations. (do_encrypt, do_decrypt): Prototype. Make args point to unsigned char, and return types void. (main): Declare return type. Make automatic var in_length be unsigned long; discard some casts, but cast it when passing to memcmp. Remove extra arg passed to des_cbc_cksum. (flip): Delete unused function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13150 dc483132-0cff-0310-8789-dd5450dbe970
* rename des.h -> des425.hKen Raeburn2001-04-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13149 dc483132-0cff-0310-8789-dd5450dbe970
* volatile fixesKen Raeburn2000-03-151-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12113 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-241-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-221-2/+2
| | | | | | | * DO not use #ifdef unix * Fix dependencies for library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9950 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-061-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* * read_passwd.c, configure.in: use HAS_ANSI_VOLATILE insteadMark Eichin1995-06-281-5/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6191 dc483132-0cff-0310-8789-dd5450dbe970
* * read_passwd.c: only use volatile if __STDC__ is 1Mark Eichin1995-06-281-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6173 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-271-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* read_passwd.c (des_read_pw_string): Don't depend onTheodore Tso1995-06-091-32/+124
| | | | | | | | | | krb5_read_password(); this created a circular dependency in the libraries. This code is now duplicated in des_read_pw_string. util.c (des_cblock_print_file): Fix -Wall nit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5991 dc483132-0cff-0310-8789-dd5450dbe970
* Call to krb5_read_password takes as an argument an int* not an int to ↵Ezra Peisach1995-05-011-2/+3
| | | | | | represent the length of the buffer git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5666 dc483132-0cff-0310-8789-dd5450dbe970
* Add des_read_pw_string, since it's used by the V4 login.c codeTheodore Tso1995-04-281-0/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5612 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-1/+1
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* New file, unix_time, didn't work on the PCKeith Vetter1995-03-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5197 dc483132-0cff-0310-8789-dd5450dbe970
* Some int/long, signed/unsigned conversionsKeith Vetter1995-03-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5093 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-281-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5017 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-221-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* Make global_context a static variable and initialize it automaticallyTheodore Tso1995-01-191-0/+9
| | | | | | if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4825 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-1/+1
| | | | | | Added krb5_context to all krb5_routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* unused varsMark Eichin1994-08-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4141 dc483132-0cff-0310-8789-dd5450dbe970
* step 1: bzero->memset(,0,)Mark Eichin1994-06-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3809 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* libos-proto.h -> los-proto.hJohn Kohl1991-03-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1916 dc483132-0cff-0310-8789-dd5450dbe970
* want to use old string_to_key interfaceJohn Kohl1991-03-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1891 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***John Kohl1991-03-141-0/+52
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1888 dc483132-0cff-0310-8789-dd5450dbe970