~ubuntu-branches/ubuntu/natty/libgcrypt11/natty-proposed

« back to all changes in this revision

Viewing changes to mpi/mpiutil.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-16 20:13:32 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090516201332-czkobpu32w318i16
Tags: 1.4.4-2ubuntu1
* Merge from Debian unstable (LP: #364535), remaining changes:
  - Add libgcrypt11-udeb for use by cryptsetup-udeb.
  - Add clean-la.mk, and add a symlink for the .la
  - Install to /lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <stdio.h>
23
23
#include <stdlib.h>
24
24
#include <string.h>
25
 
#include <assert.h>
26
25
 
27
26
#include "g10lib.h"
28
27
#include "mpi-internal.h"
196
195
  ap = a->d;
197
196
  if (!a->nlimbs)
198
197
    {
199
 
      assert(!ap);
 
198
      gcry_assert (!ap);
200
199
      return;
201
200
    }
202
201
  bp = mpi_alloc_limb_space (a->nlimbs, 1);