make time2generalizedtime return an error code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9576 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-01-29 08:31:27 +00:00
parent 55b30cf74e
commit 9fcb1a0934
2 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -66,7 +66,7 @@ enum {
time_t timegm (struct tm *);
#endif
void time2generalizedtime (time_t t, octet_string *s);
int time2generalizedtime (time_t t, octet_string *s);
int der_get_int (const unsigned char *p, size_t len, int *ret, size_t *size);
int der_get_length (const unsigned char *p, size_t len,