~ubuntu-branches/ubuntu/lucid/dropbear/lucid

« back to all changes in this revision

Viewing changes to libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2007-03-02 20:48:18 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070302204818-ozmbou2sbyj7dus5
Tags: 0.49-1
* new upstream release, fixes
  * CVE-2007-1099: dropbear dbclient insufficient warning on hostkey
    mismatch (closes: #412899).
  * dbclient uses static "Password:" prompt instead of using the server's
    prompt (closes: #394996).
* debian/control: Suggests: openssh-client, not ssh (closes: #405686);
  Standards-Version: 3.7.2.2.
* debian/README.Debian: ssh -> openssh-server, openssh-client; remove
  'Replacing OpenSSH "sshd" with Dropbear' part, this is simply done by not
  installing the openssh-server package.
* debian/README.runit: runsvstat -> sv status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * The library is free for all purposes without any express
7
7
 * guarantee it works.
8
8
 *
9
 
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.org
 
9
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
10
10
 */
11
11
#include "tomcrypt.h"
12
12
 
39
39
   if (y >= max) return CRYPT_INVALID_PACKET;           \
40
40
   x += 2;
41
41
 
 
42
/**
 
43
  Decodes a UTC time structure in DER format (reads all 6 valid encoding formats)
 
44
  @param in     Input buffer
 
45
  @param inlen  Length of input buffer in octets
 
46
  @param out    [out] Destination of UTC time structure
 
47
  @return CRYPT_OK   if successful
 
48
*/
42
49
int der_decode_utctime(const unsigned char *in, unsigned long *inlen,
43
50
                             ltc_utctime   *out)
44
51
{
116
123
#endif
117
124
 
118
125
/* $Source: /cvs/libtom/libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c,v $ */
119
 
/* $Revision: 1.6 $ */
120
 
/* $Date: 2005/06/19 12:07:00 $ */
 
126
/* $Revision: 1.8 $ */
 
127
/* $Date: 2006/03/31 14:15:35 $ */