~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to libtomcrypt/src/pk/dsa/dsa_export.c

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2008-03-27 20:08:06 UTC
  • mfrom: (1.4.1 upstream) (9 hardy)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20080327200806-c1hhdgt3ht2gk496
Tags: 0.51-1
[ Matt Johnston ]
* New upstream release.
  - Wait until a process exits before the server closes a connection,
    so that an exit code can be sent. This fixes problems with exit
    codes not being returned, which could cause scp to fail (closes:
    #448397, #472483).

[ Gerrit Pape ]
* debian/dropbear.postinst: don't print an error message if the
  update-service program is not installed (thx Matt).

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
 
47
47
   if (type == PK_PRIVATE) {
48
48
      return der_encode_sequence_multi(out, outlen,
49
49
                                 LTC_ASN1_BIT_STRING,   1UL, flags,
50
 
                                 LTC_ASN1_INTEGER,      1UL, &key->g,
51
 
                                 LTC_ASN1_INTEGER,      1UL, &key->p,
52
 
                                 LTC_ASN1_INTEGER,      1UL, &key->q,
53
 
                                 LTC_ASN1_INTEGER,      1UL, &key->y,
54
 
                                 LTC_ASN1_INTEGER,      1UL, &key->x,
 
50
                                 LTC_ASN1_INTEGER,      1UL, key->g,
 
51
                                 LTC_ASN1_INTEGER,      1UL, key->p,
 
52
                                 LTC_ASN1_INTEGER,      1UL, key->q,
 
53
                                 LTC_ASN1_INTEGER,      1UL, key->y,
 
54
                                 LTC_ASN1_INTEGER,      1UL, key->x,
55
55
                                 LTC_ASN1_EOL,          0UL, NULL);
56
56
   } else {
57
57
      return der_encode_sequence_multi(out, outlen,
58
58
                                 LTC_ASN1_BIT_STRING,   1UL, flags,
59
 
                                 LTC_ASN1_INTEGER,      1UL, &key->g,
60
 
                                 LTC_ASN1_INTEGER,      1UL, &key->p,
61
 
                                 LTC_ASN1_INTEGER,      1UL, &key->q,
62
 
                                 LTC_ASN1_INTEGER,      1UL, &key->y,
 
59
                                 LTC_ASN1_INTEGER,      1UL, key->g,
 
60
                                 LTC_ASN1_INTEGER,      1UL, key->p,
 
61
                                 LTC_ASN1_INTEGER,      1UL, key->q,
 
62
                                 LTC_ASN1_INTEGER,      1UL, key->y,
63
63
                                 LTC_ASN1_EOL,          0UL, NULL);
64
64
   }
65
65
}
68
68
 
69
69
 
70
70
/* $Source: /cvs/libtom/libtomcrypt/src/pk/dsa/dsa_export.c,v $ */
71
 
/* $Revision: 1.6 $ */
72
 
/* $Date: 2005/06/03 19:24:31 $ */
 
71
/* $Revision: 1.8 $ */
 
72
/* $Date: 2006/03/31 14:15:35 $ */