summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb/fetch_mkey.c
Commit message (Collapse)AuthorAgeFilesLines
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-211-182/+0
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey.c: Signed/unsigned int cleanupEzra Peisach2000-10-171-8/+5
| | | | | | | * kdb_cpw.c (add_key_pwd): Change salt data length of -1 to SALT_TYPE_AFS_LENGTH. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12778 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_dbe_free_contents): Clean up signedness warningEzra Peisach2000-09-201-3/+8
| | | | | | | | | | | | | | | | * fetch_mkey.c (krb5_db_fetch_mkey): Clean up signedness warnings. * kdb_db2.c (destroy_file_suffix): Declare function as static. Rewrite code to use off_t and unsigned ints to handle gcc warnings. (kdb5_context_internalize) Unmarshal boolean type properly. * store_mkey.c (krb5_db_store_mkey): Use mode_t instead of int in call to umask. * configure.in: Add AC_TYPE_MODE_T and AC_TYPE_OFF_T for mode_t and off_t declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12661 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
* from Bear Giles:Ken Raeburn2000-02-211-2/+0
| | | | | | | * fetch_mkey.c (krb5_db_fetch_mkey): Don't attempt to override type of key read from stash file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12061 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
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-6/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey: Changed krb5_db_fetch_mkey() such that it will only tryRichard Basch1995-12-121-1/+1
| | | | | | | to set the enctype of the keyblock if the keyblock had it set to ENCTYPE_UNKNOWN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7210 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey.c: If the keyblock is initialized with an enctype ofRichard Basch1995-12-121-1/+3
| | | | | | | NULL, simply read in the enctype from the stash file and don't try to check it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7196 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey.c, kdb_cpw.c, t_kdb.c :Chris Provenzano1995-11-091-3/+2
| | | | | | Remove krb5_enctype from krb5_string_to_key() args. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7083 dc483132-0cff-0310-8789-dd5450dbe970
* fetch_mkey.c (krb5_db_fetch_mkey): This routine now sets the masterTheodore Tso1995-09-131-0/+2
| | | | | | | | | | encblock's crypto system using krb5_use_enctype() from the stored keytype of the master key. decrypt_key.c (krb5_dbekd_decrypt_key_data): Remove the encryption type; the master_encblock should always be set correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6778 dc483132-0cff-0310-8789-dd5450dbe970
* * decrypt_key.c, encrypt_key.c, fetch_mkey.c, kdb_compat.c,Chris Provenzano1995-09-061-5/+5
| | | | | | | * kdb_cpw.c, kdb_xdr.c, store_mkey.c, t_kdb.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6718 dc483132-0cff-0310-8789-dd5450dbe970
* * decrypt_key.c, fetch_mkey.c, t_kdb.c : Remove krb5_enctypeChris Provenzano1995-09-061-1/+0
| | | | | | references, and replace with krb5_keytype where appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6681 dc483132-0cff-0310-8789-dd5450dbe970
* first pass attempt at cleaning up some gcc -Wall flamesTom Yu1995-08-051-4/+4
| | | | | | (see ChangeLogs for gory details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6424 dc483132-0cff-0310-8789-dd5450dbe970
* Move stash file #define to osconf.h and add stash file name handlingPaul Park1995-07-171-4/+4
| | | | | | to krb5_db_fetch_mkey(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6303 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. The ketype field was 2 bytes, not 1Theodore Tso1995-03-251-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5243 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid bug from the last changeTheodore Tso1995-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5242 dc483132-0cff-0310-8789-dd5450dbe970
* Hardcode the size of the keytype field in the file format, to beTheodore Tso1995-03-251-1/+1
| | | | | | | compatible with what was used in the Beta 4 release (before we changed the size of a krb5_keytype type). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5241 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/....> includesJohn Gilmore1995-02-281-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5007 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-16/+12
| | | | | | Added krb5_context to all krb5_routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4808 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock's magic number and encryption type information appropriatelyTheodore Tso1994-11-091-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4650 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
* Make sure memory is freed on errorsTheodore Tso1993-12-241-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3279 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2670 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
* Now allows the user to pass in their own custom salt information for theTheodore Tso1992-09-291-4/+11
| | | | | | master key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2425 dc483132-0cff-0310-8789-dd5450dbe970
* Make use of ANSI stdio configurableJohn Carr1992-02-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2225 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
* use "rb" for STDCJohn Kohl1991-04-191-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2012 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
* fix copyrightsJohn Kohl1991-03-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1902 dc483132-0cff-0310-8789-dd5450dbe970
* RFC draft protocol changes and related cleanupsJohn Kohl1990-12-141-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1554 dc483132-0cff-0310-8789-dd5450dbe970
* change bzero to memsetJohn Kohl1990-11-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1432 dc483132-0cff-0310-8789-dd5450dbe970
* use macros to hide abstractionJohn Kohl1990-09-201-4/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1137 dc483132-0cff-0310-8789-dd5450dbe970
* fix reference to copyright/distribution provisionsJohn Kohl1990-05-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@945 dc483132-0cff-0310-8789-dd5450dbe970
* include file fix-upsJohn Kohl1990-05-231-5/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@911 dc483132-0cff-0310-8789-dd5450dbe970
* add twice argumentJohn Kohl1990-05-021-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@667 dc483132-0cff-0310-8789-dd5450dbe970
* add support for non-interactive fetchJohn Kohl1990-04-271-1/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@614 dc483132-0cff-0310-8789-dd5450dbe970
* need to use DECLARG macrosJohn Kohl1990-04-231-5/+10
| | | | | | add prototype header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@549 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***John Kohl1990-02-131-0/+76
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@350 dc483132-0cff-0310-8789-dd5450dbe970