+Wed Mar 1 18:00:00 1995 Keith Vetter (keithv@fusion.com)
+
+ * asn1_decode.c, asn1_encode.c, ans1_k_encode.c, asn1_misc.c: 16 vs
+ 32 bit casts.
+ * asn1_k_encode.h: added missing INTERFACE to a prototype
+
Tue Feb 28 00:32:48 1995 John Gilmore (gnu at toad.com)
* asn1_decode.h, asn1_encode.h, asn1_get.h, asn1_k_decode.h,
char *s;
struct tm ts;
time_t t;
+ time_t gmt_mktime PROTOTYPE((struct tm *));
tag(ASN1_GENERALTIME);
valcopy = val;
do {
- digit = valcopy&0xFF;
+ digit = (int) (valcopy&0xFF);
retval = asn1buf_insert_octet(buf,(asn1_octet) digit);
if(retval) return retval;
length++;
valcopy = val;
do {
- digit = valcopy&0xFF;
+ digit = (int) (valcopy&0xFF);
retval = asn1buf_insert_octet(buf,(asn1_octet) digit);
if(retval) return retval;
length++;
if(val == NULL || val->data == NULL) return ASN1_MISSING_FIELD;
- for(n = (val->length)-1; n >= 0; n--){
+ for(n = (int) ((val->length)-1); n >= 0; n--){
if(val->data[n].data == NULL) return ASN1_MISSING_FIELD;
retval = asn1_encode_generalstring(buf,
(val->data)[n].length,
PROTOTYPE((asn1buf *buf, const krb5_last_req_entry **val,
int *retlen));
-asn1_error_code asn1_encode_sequence_of_pa_data
+asn1_error_code INTERFACE asn1_encode_sequence_of_pa_data
PROTOTYPE((asn1buf *buf, const krb5_pa_data **val, int *retlen));
asn1_error_code INTERFACE asn1_encode_sequence_of_ticket
*/
#include "asn1_misc.h"
+#include <malloc.h>
+#include <memory.h>
asn1_error_code INTERFACE asn1_krb5_realm_copy(target, source)
krb5_principal target;