Makefile.in (STLIBOBJS): Nothing uses des_stringtokey.o, drop it
authorKen Raeburn <raeburn@mit.edu>
Fri, 9 Mar 2001 22:25:02 +0000 (22:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 9 Mar 2001 22:25:02 +0000 (22:25 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13067 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/old/ChangeLog
src/lib/crypto/old/Makefile.in
src/lib/crypto/old/des_stringtokey.c
src/lib/crypto/old/old_decrypt.c
src/lib/crypto/old/old_encrypt.c

index b859386af8b9185df1c8e84fe635cf5d270001a5..f1a8fb8d7517ab7b27983f8c72c8cb9a5b694151 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-09  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (STLIBOBJS): Nothing uses des_stringtokey.o, drop
+       it.
+
 2001-03-05  Ken Raeburn  <raeburn@mit.edu>
 
        * des_stringtokey.c, old.h, old_decrypt.c, old_encrypt.c: Use
index cab1b3511916e0c3474c7b784800ddc466083e4d..4be348203691cdd3a831922a968f93299503743e 100644 (file)
@@ -14,7 +14,7 @@ PROG_RPATH=$(KRB5_LIBDIR)
 
 RUN_SETUP = @KRB5_RUN_ENV@ KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf
 
-STLIBOBJS= des_stringtokey.o old_decrypt.o old_encrypt.o
+STLIBOBJS= old_decrypt.o old_encrypt.o
 
 OBJS= $(OUTPRE)des_stringtokey.$(OBJEXT) $(OUTPRE)old_decrypt.$(OBJEXT) $(OUTPRE)old_encrypt.$(OBJEXT)
 
index 3369442bcfc28978468b4a9069947bdb3270903d..3b4f627a4231a42aeb409e562319e5ad2981e2a5 100644 (file)
@@ -1,3 +1,4 @@
+/* THIS FILE DOESN'T GET COMPILED.  AUDIT BEFORE USE.  */
 /*
  * Copyright (C) 1998 by the FundsXpress, INC.
  * 
index 6606be754f31a39101889a59ccbf5fb0cedf9de0..38c1c24468163bbd5ceadeee662580a8edf8ed4a 100644 (file)
 #include "k5-int.h"
 #include "old.h"
 
-#ifndef HAVE_MEMMOVE
-#ifdef HAVE_BCOPY
-#define memmove(dst,src,size) bcopy(src,dst,size)
-#endif
-#endif
-
 krb5_error_code
-krb5_old_decrypt(enc, hash, key, usage, ivec, input, arg_output)
-     const struct krb5_enc_provider *enc;
-     const struct krb5_hash_provider *hash;
-     const krb5_keyblock *key;
-     krb5_keyusage usage;
-     const krb5_data *ivec;
-     const krb5_data *input;
-     krb5_data *arg_output;
+krb5_old_decrypt(const struct krb5_enc_provider *enc,
+                const struct krb5_hash_provider *hash,
+                const krb5_keyblock *key,
+                krb5_keyusage usage,
+                const krb5_data *ivec,
+                const krb5_data *input,
+                krb5_data *arg_output)
 {
     krb5_error_code ret;
     size_t blocksize, hashsize, plainsize;
index 374bbad082bbedfa3841b008690e52f1bdbc3544..8ed8d769bd9db76abf8e5a3ef67559788cc24fd4 100644 (file)
 #include "old.h"
 
 void
-krb5_old_encrypt_length(enc, hash, inputlen, length)
-     const struct krb5_enc_provider *enc;
-     const struct krb5_hash_provider *hash;
-     size_t inputlen;
-     size_t *length;
+krb5_old_encrypt_length(const struct krb5_enc_provider *enc,
+                       const struct krb5_hash_provider *hash,
+                       size_t inputlen,
+                       size_t *length)
 {
     size_t blocksize, hashsize;
 
@@ -43,14 +42,13 @@ krb5_old_encrypt_length(enc, hash, inputlen, length)
 }
 
 krb5_error_code
-krb5_old_encrypt(enc, hash, key, usage, ivec, input, output)
-     const struct krb5_enc_provider *enc;
-     const struct krb5_hash_provider *hash;
-     const krb5_keyblock *key;
-     krb5_keyusage usage;
-     const krb5_data *ivec;
-     const krb5_data *input;
-     krb5_data *output;
+krb5_old_encrypt(const struct krb5_enc_provider *enc,
+                const struct krb5_hash_provider *hash,
+                const krb5_keyblock *key,
+                krb5_keyusage usage,
+                const krb5_data *ivec,
+                const krb5_data *input,
+                krb5_data *output)
 {
     krb5_error_code ret;
     size_t blocksize, hashsize, enclen;