X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilcpkcs.c;h=457deb806cdcfca81a6f9c9818ee756844882e61;hp=4665c160d77545340f0edf49b2955ba950738d2e;hb=9905799a86c606304fd7df2cd401de1740a272a1;hpb=f3b43606c546a86a43b283b46464972296e1e271 diff --git a/lib/silccrypt/silcpkcs.c b/lib/silccrypt/silcpkcs.c index 4665c160..457deb80 100644 --- a/lib/silccrypt/silcpkcs.c +++ b/lib/silccrypt/silcpkcs.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2006 Pekka Riikonen + Copyright (C) 1997 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -571,10 +571,10 @@ void silc_pkcs_private_key_free(SilcPrivateKey private_key) SilcBool silc_pkcs_encrypt(SilcPublicKey public_key, unsigned char *src, SilcUInt32 src_len, unsigned char *dst, SilcUInt32 dst_size, - SilcUInt32 *dst_len) + SilcUInt32 *dst_len, SilcRng rng) { return public_key->pkcs->encrypt(public_key->public_key, src, src_len, - dst, dst_size, dst_len); + dst, dst_size, dst_len, rng); } /* Decrypts */