X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fgcrypt%2Frsa.h;h=a76bfde923cb8ed124c116f206e6a3d232bb5054;hb=refs%2Fheads%2F1.1-threads;hp=0b3937a41a6a78f817b2b223283900423411f5dd;hpb=7ea85043ac1fb2096baea44f6b0af27ac0d0b2cf;p=tinc diff --git a/src/gcrypt/rsa.h b/src/gcrypt/rsa.h index 0b3937a4..a76bfde9 100644 --- a/src/gcrypt/rsa.h +++ b/src/gcrypt/rsa.h @@ -12,11 +12,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_RSA_H__ @@ -37,5 +35,6 @@ extern bool rsa_read_pem_private_key(rsa_t *rsa, FILE *fp); extern size_t rsa_size(rsa_t *rsa); extern bool rsa_public_encrypt(rsa_t *rsa, void *in, size_t len, void *out); extern bool rsa_private_decrypt(rsa_t *rsa, void *in, size_t len, void *out); +extern void rsa_free(rsa_t *rsa); #endif