+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
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)
+/* THIS FILE DOESN'T GET COMPILED. AUDIT BEFORE USE. */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
#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;
#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;
}
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;