/* -*-c-*-
*
- * $Id: rsa-pub.c,v 1.1 2000/07/01 11:23:52 mdw Exp $
+ * $Id: rsa-pub.c,v 1.2 2000/10/08 16:00:32 mdw Exp $
*
* [RSA encryption with padding *
* (c) 2000 Straylight/Edgeware
/*----- Revision history --------------------------------------------------*
*
* $Log: rsa-pub.c,v $
+ * Revision 1.2 2000/10/08 16:00:32 mdw
+ * Fix compiler warning.
+ *
* Revision 1.1 2000/07/01 11:23:52 mdw
* Public-key operations, for symmetry with `rsa-priv.c'. Functions for
* doing padded RSA encryption and signature verification.
/* --- Sort out some space --- */
dstr_ensure(d, n);
- p = d->buf + d->len;
+ p = (octet *)d->buf + d->len;
p[0] = 0;
/* --- Do the packing --- */