~ubuntu-branches/ubuntu/utopic/nettle/utopic

« back to all changes in this revision

Viewing changes to examples/rsa-keygen.c

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-03-24 11:38:21 UTC
  • mto: (1.4.6) (3.1.11 experimental)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130324113821-3rsmekqi09c93lnh
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * 
19
19
 * You should have received a copy of the GNU Lesser General Public License
20
20
 * along with the nettle library; see the file COPYING.LIB.  If not, write to
21
 
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22
 
 * MA 02111-1307, USA.
 
21
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
22
 * MA 02111-1301, USA.
23
23
 */
24
24
 
25
25
#if HAVE_CONFIG_H
160
160
      return EXIT_FAILURE;
161
161
    }
162
162
 
 
163
  nettle_buffer_clear(&priv_buffer);
 
164
  nettle_buffer_clear(&pub_buffer);
 
165
  rsa_public_key_clear(&pub);
 
166
  rsa_private_key_clear(&priv);
 
167
  free (pub_name);
 
168
  
163
169
  return EXIT_SUCCESS;
164
170
}