Changeset c836519


Ignore:
Timestamp:
Mar 17, 2010, 10:47:55 PM (15 years ago)
Author:
Nelson Elhage <nelhage@ksplice.com>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8bd190d
Parents:
9a4077c
git-author:
Nelson Elhage <nelhage@mit.edu> (03/15/10 21:01:40)
git-committer:
Nelson Elhage <nelhage@ksplice.com> (03/17/10 22:47:55)
Message:
Import our OpenSSL compatibility fix for zcrypt.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zcrypt.c

    r9a4077c rc836519  
    6868#define CIPHER_AES        1
    6969
    70 static void owl_zcrypt_string_to_schedule(char *keystring, des_key_schedule schedule) {
     70static void owl_zcrypt_string_to_schedule(char *keystring, des_key_schedule *schedule) {
    7171#ifdef HAVE_KERBEROS_IV
    7272  des_cblock key;
     
    7676
    7777  des_string_to_key(keystring, key);
    78   des_key_sched(key, schedule);
     78  des_key_sched(key, *schedule);
    7979}
    8080
     
    662662  }
    663663
    664   owl_zcrypt_string_to_schedule(keystring, schedule);
     664  owl_zcrypt_string_to_schedule(keystring, &schedule);
    665665  free(keystring);
    666666
     
    766766  output[0] = '\0';    /* In case no message at all                 */
    767767
    768   owl_zcrypt_string_to_schedule(keystring, schedule);
     768  owl_zcrypt_string_to_schedule(keystring, &schedule);
    769769
    770770  while (read_ascii_block(input))
Note: See TracChangeset for help on using the changeset viewer.