X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/991636934437303281e0b6c044291972b73f0736..2685767a6125c1620719c7de6234aedf41857b7e:/key-binary.c diff --git a/key-binary.c b/key-binary.c index 3e67d96..79712e1 100644 --- a/key-binary.c +++ b/key-binary.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: key-binary.c,v 1.2 2000/06/17 11:25:20 mdw Exp $ + * $Id: key-binary.c,v 1.3 2001/02/03 11:57:00 mdw Exp $ * * Key binary encoding * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: key-binary.c,v $ + * Revision 1.3 2001/02/03 11:57:00 mdw + * Track mLib change: symbols no longer need to include a terminating + * null. + * * Revision 1.2 2000/06/17 11:25:20 mdw * Use secure memory interface from MP library. * @@ -137,7 +141,7 @@ int key_decode(const void *p, size_t sz, key_data *k) /* --- Create a table node and fill it in --- */ - ks = sym_find(&k->u.s, d.buf, d.len + 1, sizeof(*ks), &f); + ks = sym_find(&k->u.s, d.buf, d.len, sizeof(*ks), &f); if (f) goto fail; if (key_decode(q, sz, &ks->k)) {